Recognised as Colour
#2A178F
- #2A178F
- Blue
- Dark
- Nearest: Navy
#2A178F is a blue with RGB values 42, 23, 143 and HSL 250°, 72%, 33%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#2A178F#2A178F
HEX#2A178F
RGBrgb(42, 23, 143)
RGB (0–1)0.1647, 0.0902, 0.5608
RGB percentages16.5%, 9%, 56.1%
HSLhsl(249.5, 72.3%, 32.5%)
HSV / HSBhsv(249.5, 83.9%, 56.1%)
CMYK70.6%, 83.9%, 0%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,758,543
CSS custom property--colour: #2A178F;
Brightness & contrast
Relative luminance0.03088WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.98:1
Contrast with white12.98:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#D5E870
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.98:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C8F17
Analogous#17408F, #66178F
Triadic#8F2A17, #178F2A
Split complementary#8F6617, #408F17
Tetradic#8F1740, #7C8F17, #178F66
Tints, shades & saturation
Channel breakdown
R42
G23
B143
Red42 (16.5%)
Green23 (9%)
Blue143 (56.1%)
Hue249.5°
Saturation (HSL)72.29%
Lightness32.55%
Dominant channelBlue
Hex per channelR 2A · G 17 · B 8F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page