Nerdulator> put something in

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

Protanopia#001B5Ano red cones; affects about 1% of men; ΔE 17.2 from the original
Deuteranopia#001157no green cones; the most common form, about 1% of men; ΔE 9.9 from the original
Tritanopia#002131no blue cones; rare, and affects men and women equally; ΔE 51.5 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 8.93, clearly different but related
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

Lighter +40%#3232F6
Lighter +30%#0B0BEA
Lighter +20%#0808BA
Lighter +10%#060689
Darker −10%#020227
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#00005C
Less saturated −25%#10104D

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “hex 040458” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.