Recognised as Colour
#042EBA
- #042EBA
- Blue
- Dark
- Nearest: Dark blue
#042EBA is a blue with RGB values 4, 46, 186 and HSL 226°, 96%, 37%. It is a dark colour, so white text on it reaches 10:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#042EBA#042EBA
HEX#042EBA
RGBrgb(4, 46, 186)
RGB (0–1)0.0157, 0.1804, 0.7294
RGB percentages1.6%, 18%, 72.9%
HSLhsl(226.2, 95.8%, 37.3%)
HSV / HSBhsv(226.2, 97.8%, 72.9%)
CMYK97.8%, 75.3%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer274,106
CSS custom property--colour: #042EBA;
Brightness & contrast
Relative luminance0.05525WCAG 2.x, 0 is black and 1 is white
Perceived brightness72 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.98:1
Contrast with white9.98:1WCAG normal text: AAA
Contrast with black2.1:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#FBD145
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.98:1WCAG large text: AAA
Contrast with black, large text2.1:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#BA9004
Analogous#0489BA, #3504BA
Triadic#BA042E, #2EBA04
Split complementary#BA3504, #89BA04
Tetradic#BA0489, #BA9004, #04BA35
Tints, shades & saturation
Channel breakdown
R4
G46
B186
Red4 (1.6%)
Green46 (18%)
Blue186 (72.9%)
Hue226.15°
Saturation (HSL)95.79%
Lightness37.25%
Dominant channelBlue
Hex per channelR 04 · G 2E · B BA
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page