Recognised as Colour
#2B004C
- #2B004C
- Violet
- Dark
- Nearest: Midnight blue
#2B004C is a violet with RGB values 43, 0, 76 and HSL 274°, 100%, 15%. It is a dark colour, so white text on it reaches 17.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2B004C#2B004C
HEX#2B004C
RGBrgb(43, 0, 76)
RGB (0–1)0.1686, 0, 0.298
RGB percentages16.9%, 0%, 29.8%
HSLhsl(273.9, 100%, 14.9%)
HSV / HSBhsv(273.9, 100%, 29.8%)
CMYK43.4%, 100%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,818,124
CSS custom property--colour: #2B004C;
Brightness & contrast
Relative luminance0.01035WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.4:1
Contrast with white17.4:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#D4FFB3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.4:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#214C00
Analogous#05004C, #4C0047
Triadic#4C2B00, #004C2B
Split complementary#474C00, #004C05
Tetradic#4C0500, #214C00, #00474C
Tints, shades & saturation
Channel breakdown
R43
G0
B76
Red43 (16.9%)
Green0 (0%)
Blue76 (29.8%)
Hue273.95°
Saturation (HSL)100%
Lightness14.9%
Dominant channelBlue
Hex per channelR 2B · G 00 · B 4C
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