Recognised as Colour
#040458
- #040458
- Blue
- Dark
- Nearest: Midnight blue
#040458 is a blue with RGB values 4, 4, 88 and HSL 240°, 91%, 18%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040458#040458
HEX#040458
RGBrgb(4, 4, 88)
RGB (0–1)0.0157, 0.0157, 0.3451
RGB percentages1.6%, 1.6%, 34.5%
HSLhsl(240, 91.3%, 18%)
HSV / HSBhsv(240, 95.5%, 34.5%)
CMYK95.5%, 95.5%, 0%, 65.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer263,256
CSS custom property--colour: #040458;
Brightness & contrast
Relative luminance0.00817WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.05:1
Contrast with white18.05:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0A0A0A
Inverted#FBFBA7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.05:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#585804
Analogous#042E58, #2E0458
Triadic#580404, #045804
Split complementary#582E04, #2E5804
Tetradic#58042E, #585804, #04582E
Tints, shades & saturation
Channel breakdown
R4
G4
B88
Red4 (1.6%)
Green4 (1.6%)
Blue88 (34.5%)
Hue240°
Saturation (HSL)91.3%
Lightness18.04%
Dominant channelBlue
Hex per channelR 04 · G 04 · B 58
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