Recognised as Colour
#042BE2
- #042BE2
- Blue
- Dark
- Nearest: Medium blue
#042BE2 is a blue with RGB values 4, 43, 226 and HSL 229°, 97%, 45%. It is a dark colour, so white text on it reaches 8.6:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#042BE2#042BE2
HEX#042BE2
RGBrgb(4, 43, 226)
RGB (0–1)0.0157, 0.1686, 0.8863
RGB percentages1.6%, 16.9%, 88.6%
HSLhsl(229.5, 96.5%, 45.1%)
HSV / HSBhsv(229.5, 98.2%, 88.6%)
CMYK98.2%, 81%, 0%, 11.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer273,378
CSS custom property--colour: #042BE2;
Brightness & contrast
Relative luminance0.07245WCAG 2.x, 0 is black and 1 is white
Perceived brightness83.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.58:1
Contrast with white8.58:1WCAG normal text: AAA
Contrast with black2.45:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#FBD41D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.58:1WCAG large text: AAA
Contrast with black, large text2.45:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#E2BB04
Analogous#049AE2, #4C04E2
Triadic#E2042B, #2BE204
Split complementary#E24C04, #9AE204
Tetradic#E2049A, #E2BB04, #04E24C
Tints, shades & saturation
Channel breakdown
R4
G43
B226
Red4 (1.6%)
Green43 (16.9%)
Blue226 (88.6%)
Hue229.46°
Saturation (HSL)96.52%
Lightness45.1%
Dominant channelBlue
Hex per channelR 04 · G 2B · B E2
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