Recognised as Colour
#2A128E
- #2A128E
- Blue
- Dark
- Nearest: Navy
#2A128E is a blue with RGB values 42, 18, 142 and HSL 252°, 78%, 31%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#2A128E#2A128E
HEX#2A128E
RGBrgb(42, 18, 142)
RGB (0–1)0.1647, 0.0706, 0.5569
RGB percentages16.5%, 7.1%, 55.7%
HSLhsl(251.6, 77.5%, 31.4%)
HSV / HSBhsv(251.6, 87.3%, 55.7%)
CMYK70.4%, 87.3%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,757,262
CSS custom property--colour: #2A128E;
Brightness & contrast
Relative luminance0.02878WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.33:1
Contrast with white13.33:1WCAG normal text: AAA
Contrast with black1.58:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D5ED71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.33:1WCAG large text: AAA
Contrast with black, large text1.58:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#768E12
Analogous#12388E, #68128E
Triadic#8E2A12, #128E2A
Split complementary#8E6812, #388E12
Tetradic#8E1238, #768E12, #128E68
Tints, shades & saturation
Channel breakdown
R42
G18
B142
Red42 (16.5%)
Green18 (7.1%)
Blue142 (55.7%)
Hue251.61°
Saturation (HSL)77.5%
Lightness31.37%
Dominant channelBlue
Hex per channelR 2A · G 12 · B 8E
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