Nerdulator> put something in

Recognised as Colour

#040A68

  • #040A68
  • Blue
  • Dark
  • Nearest: Midnight blue

#040A68 is a blue with RGB values 4, 10, 104 and HSL 236°, 93%, 21%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040A68#040A68
HEX#040A68
RGBrgb(4, 10, 104)
RGB (0–1)0.0157, 0.0392, 0.4078
RGB percentages1.6%, 3.9%, 40.8%
HSLhsl(236.4, 92.6%, 21.2%)
HSV / HSBhsv(236.4, 96.2%, 40.8%)
CMYK96.2%, 90.4%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,808
CSS custom property--colour: #040A68;

Brightness & contrast

Relative luminance0.01242WCAG 2.x, 0 is black and 1 is white
Perceived brightness36 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.82:1
Contrast with white16.82:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FBF597

Colour vision & accessibility

Protanopia#00226Ano red cones; affects about 1% of men; ΔE 17.6 from the original
Deuteranopia#001866no green cones; the most common form, about 1% of men; ΔE 11 from the original
Tritanopia#002A3Bno blue cones; rare, and affects men and women equally; ΔE 57 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.82:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 7.23, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#686204
Analogous#043C68, #300468
Triadic#68040A, #0A6804
Split complementary#683004, #3C6804
Tetradic#68043C, #686204, #046830

Tints, shades & saturation

Lighter +40%#404BF8
Lighter +30%#0F1DF6
Lighter +20%#0813CA
Lighter +10%#060F99
Darker −10%#020537
Darker −20%#000106
Darker −30%#000000
Darker −40%#000000
More saturated +25%#00066C
Less saturated −25%#12165A

Channel breakdown

R4
G10
B104
Red4 (1.6%)
Green10 (3.9%)
Blue104 (40.8%)
Hue236.4°
Saturation (HSL)92.59%
Lightness21.18%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 68

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