Recognised as Colour
#2D1881
- #2D1881
- Blue
- Dark
- Nearest: Midnight blue
#2D1881 is a blue with RGB values 45, 24, 129 and HSL 252°, 69%, 30%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2D1881#2D1881
HEX#2D1881
RGBrgb(45, 24, 129)
RGB (0–1)0.1765, 0.0941, 0.5059
RGB percentages17.6%, 9.4%, 50.6%
HSLhsl(252, 68.6%, 30%)
HSV / HSBhsv(252, 81.4%, 50.6%)
CMYK65.1%, 81.4%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,955,393
CSS custom property--colour: #2D1881;
Brightness & contrast
Relative luminance0.02796WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.47:1
Contrast with white13.47:1WCAG normal text: AAA
Contrast with black1.56:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#D2E77E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.47:1WCAG large text: AAA
Contrast with black, large text1.56:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6C8118
Analogous#183781, #621881
Triadic#812D18, #18812D
Split complementary#816218, #388118
Tetradic#811837, #6C8118, #188162
Tints, shades & saturation
Channel breakdown
R45
G24
B129
Red45 (17.6%)
Green24 (9.4%)
Blue129 (50.6%)
Hue252°
Saturation (HSL)68.63%
Lightness30%
Dominant channelBlue
Hex per channelR 2D · G 18 · B 81
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