Nerdulator> put something in

Recognised as Colour

#04064F

  • #04064F
  • Blue
  • Dark
  • Nearest: Midnight blue

#04064F is a blue with RGB values 4, 6, 79 and HSL 238°, 90%, 16%. It is a dark colour, so white text on it reaches 18.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#04064F#04064F
HEX#04064F
RGBrgb(4, 6, 79)
RGB (0–1)0.0157, 0.0235, 0.3098
RGB percentages1.6%, 2.4%, 31%
HSLhsl(238.4, 90.4%, 16.3%)
HSV / HSBhsv(238.4, 94.9%, 31%)
CMYK94.9%, 92.4%, 0%, 69%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer263,759
CSS custom property--colour: #04064F;

Brightness & contrast

Relative luminance0.00721WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.35:1
Contrast with white18.35:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#FBF9B0

Colour vision & accessibility

Protanopia#001851no red cones; affects about 1% of men; ΔE 13.7 from the original
Deuteranopia#00104Eno green cones; the most common form, about 1% of men; ΔE 8 from the original
Tritanopia#001E2Cno blue cones; rare, and affects men and women equally; ΔE 45.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.35:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.71, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#4F4D04
Analogous#042C4F, #27044F
Triadic#4F0406, #064F04
Split complementary#4F2704, #2C4F04
Tetradic#4F042C, #4F4D04, #044F27

Tints, shades & saturation

Lighter +40%#2B30F4
Lighter +30%#0B11E1
Lighter +20%#090DB0
Lighter +10%#060A80
Darker −10%#02021E
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000253
Less saturated −25%#0E1045

Channel breakdown

R4
G6
B79
Red4 (1.6%)
Green6 (2.4%)
Blue79 (31%)
Hue238.4°
Saturation (HSL)90.36%
Lightness16.27%
Dominant channelBlue
Hex per channelR 04 · G 06 · B 4F

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 “04064f” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.