Recognised as Colour
#042DD4
- #042DD4
- Blue
- Dark
- Nearest: Medium blue
#042DD4 is a blue with RGB values 4, 45, 212 and HSL 228°, 96%, 42%. It is a dark colour, so white text on it reaches 9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#042DD4#042DD4
HEX#042DD4
RGBrgb(4, 45, 212)
RGB (0–1)0.0157, 0.1765, 0.8314
RGB percentages1.6%, 17.6%, 83.1%
HSLhsl(228.2, 96.3%, 42.4%)
HSV / HSBhsv(228.2, 98.1%, 83.1%)
CMYK98.1%, 78.8%, 0%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer273,876
CSS custom property--colour: #042DD4;
Brightness & contrast
Relative luminance0.06656WCAG 2.x, 0 is black and 1 is white
Perceived brightness79.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.01:1
Contrast with white9.01:1WCAG normal text: AAA
Contrast with black2.33:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#FBD22B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.01:1WCAG large text: AAA
Contrast with black, large text2.33:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D4AB04
Analogous#0495D4, #4304D4
Triadic#D4042D, #2DD404
Split complementary#D44304, #95D404
Tetradic#D40495, #D4AB04, #04D443
Tints, shades & saturation
Channel breakdown
R4
G45
B212
Red4 (1.6%)
Green45 (17.6%)
Blue212 (83.1%)
Hue228.17°
Saturation (HSL)96.3%
Lightness42.35%
Dominant channelBlue
Hex per channelR 04 · G 2D · B D4
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