Recognised as Colour
#042C7F
- #042C7F
- Blue
- Dark
- Nearest: Midnight blue
#042C7F is a blue with RGB values 4, 44, 127 and HSL 220°, 94%, 26%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#042C7F#042C7F
HEX#042C7F
RGBrgb(4, 44, 127)
RGB (0–1)0.0157, 0.1725, 0.498
RGB percentages1.6%, 17.3%, 49.8%
HSLhsl(220.5, 93.9%, 25.7%)
HSV / HSBhsv(220.5, 96.9%, 49.8%)
CMYK96.9%, 65.4%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer273,535
CSS custom property--colour: #042C7F;
Brightness & contrast
Relative luminance0.03359WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.56:1
Contrast with white12.56:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#FBD380
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.56:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F5704
Analogous#046A7F, #19047F
Triadic#7F042C, #2C7F04
Split complementary#7F1A04, #697F04
Tetradic#7F046A, #7F5704, #047F19
Tints, shades & saturation
Channel breakdown
R4
G44
B127
Red4 (1.6%)
Green44 (17.3%)
Blue127 (49.8%)
Hue220.49°
Saturation (HSL)93.89%
Lightness25.69%
Dominant channelBlue
Hex per channelR 04 · G 2C · B 7F
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