Recognised as Colour
#2D287D
- #2D287D
- Blue
- Dark
- Nearest: Midnight blue
#2D287D is a blue with RGB values 45, 40, 125 and HSL 244°, 52%, 32%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2D287D#2D287D
HEX#2D287D
RGBrgb(45, 40, 125)
RGB (0–1)0.1765, 0.1569, 0.4902
RGB percentages17.6%, 15.7%, 49%
HSLhsl(243.5, 51.5%, 32.4%)
HSV / HSBhsv(243.5, 68%, 49%)
CMYK64%, 68%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,959,485
CSS custom property--colour: #2D287D;
Brightness & contrast
Relative luminance0.03556WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.27:1
Contrast with white12.27:1WCAG normal text: AAA
Contrast with black1.71:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#D2D782
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.27:1WCAG large text: AAA
Contrast with black, large text1.71:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#787D28
Analogous#284E7D, #57287D
Triadic#7D2D28, #287D2D
Split complementary#7D5728, #4E7D28
Tetradic#7D284E, #787D28, #287D57
Tints, shades & saturation
Channel breakdown
R45
G40
B125
Red45 (17.6%)
Green40 (15.7%)
Blue125 (49%)
Hue243.53°
Saturation (HSL)51.52%
Lightness32.35%
Dominant channelBlue
Hex per channelR 2D · G 28 · B 7D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page