Recognised as Colour
#062A80
- #062A80
- Blue
- Dark
- Nearest: Midnight blue
#062A80 is a blue with RGB values 6, 42, 128 and HSL 222°, 91%, 26%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#062A80#062A80
HEX#062A80
RGBrgb(6, 42, 128)
RGB (0–1)0.0235, 0.1647, 0.502
RGB percentages2.4%, 16.5%, 50.2%
HSLhsl(222.3, 91%, 26.3%)
HSV / HSBhsv(222.3, 95.3%, 50.2%)
CMYK95.3%, 67.2%, 0%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer404,096
CSS custom property--colour: #062A80;
Brightness & contrast
Relative luminance0.03253WCAG 2.x, 0 is black and 1 is white
Perceived brightness54 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.72:1
Contrast with white12.72:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#F9D57F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.72:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#805C06
Analogous#066780, #1F0680
Triadic#80062A, #2A8006
Split complementary#801F06, #678006
Tetradic#800667, #805C06, #06801F
Tints, shades & saturation
Channel breakdown
R6
G42
B128
Red6 (2.4%)
Green42 (16.5%)
Blue128 (50.2%)
Hue222.3°
Saturation (HSL)91.04%
Lightness26.27%
Dominant channelBlue
Hex per channelR 06 · G 2A · B 80
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