Recognised as Colour
#042FEC
- #042FEC
- Blue
- Dark
- Nearest: Medium blue
#042FEC is a blue with RGB values 4, 47, 236 and HSL 229°, 97%, 47%. It is a dark colour, so white text on it reaches 8:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#042FEC#042FEC
HEX#042FEC
RGBrgb(4, 47, 236)
RGB (0–1)0.0157, 0.1843, 0.9255
RGB percentages1.6%, 18.4%, 92.5%
HSLhsl(228.9, 96.7%, 47.1%)
HSV / HSBhsv(228.9, 98.3%, 92.5%)
CMYK98.3%, 80.1%, 0%, 7.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer274,412
CSS custom property--colour: #042FEC;
Brightness & contrast
Relative luminance0.08115WCAG 2.x, 0 is black and 1 is white
Perceived brightness87.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.01:1
Contrast with white8.01:1WCAG normal text: AAA
Contrast with black2.62:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#FBD013
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.01:1WCAG large text: AAA
Contrast with black, large text2.62:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ECC104
Analogous#04A3EC, #4D04EC
Triadic#EC042F, #2FEC04
Split complementary#EC4D04, #A3EC04
Tetradic#EC04A3, #ECC104, #04EC4D
Tints, shades & saturation
Channel breakdown
R4
G47
B236
Red4 (1.6%)
Green47 (18.4%)
Blue236 (92.5%)
Hue228.88°
Saturation (HSL)96.67%
Lightness47.06%
Dominant channelBlue
Hex per channelR 04 · G 2F · B EC
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