Recognised as Colour
#2D1E8A
- #2D1E8A
- Blue
- Dark
- Nearest: Midnight blue
#2D1E8A is a blue with RGB values 45, 30, 138 and HSL 248°, 64%, 33%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2D1E8A#2D1E8A
HEX#2D1E8A
RGBrgb(45, 30, 138)
RGB (0–1)0.1765, 0.1176, 0.5412
RGB percentages17.6%, 11.8%, 54.1%
HSLhsl(248.3, 64.3%, 32.9%)
HSV / HSBhsv(248.3, 78.3%, 54.1%)
CMYK67.4%, 78.3%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,956,938
CSS custom property--colour: #2D1E8A;
Brightness & contrast
Relative luminance0.03321WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.62:1
Contrast with white12.62:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#D2E175
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.62:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B8A1E
Analogous#1E458A, #631E8A
Triadic#8A2D1E, #1E8A2D
Split complementary#8A631E, #458A1E
Tetradic#8A1E45, #7B8A1E, #1E8A63
Tints, shades & saturation
Channel breakdown
R45
G30
B138
Red45 (17.6%)
Green30 (11.8%)
Blue138 (54.1%)
Hue248.33°
Saturation (HSL)64.29%
Lightness32.94%
Dominant channelBlue
Hex per channelR 2D · G 1E · B 8A
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