Nerdulator> put something in

Recognised as Colour

#040C24

  • #040C24
  • Blue
  • Dark
  • Nearest: Black

#040C24 is a blue with RGB values 4, 12, 36 and HSL 225°, 80%, 8%. It is a dark colour, so white text on it reaches 19.4:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#040C24#040C24
HEX#040C24
RGBrgb(4, 12, 36)
RGB (0–1)0.0157, 0.0471, 0.1412
RGB percentages1.6%, 4.7%, 14.1%
HSLhsl(225, 80%, 7.8%)
HSV / HSBhsv(225, 88.9%, 14.1%)
CMYK88.9%, 66.7%, 0%, 85.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,252
CSS custom property--colour: #040C24;

Brightness & contrast

Relative luminance0.00416WCAG 2.x, 0 is black and 1 is white
Perceived brightness15.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.39:1
Contrast with white19.39:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#FBF3DB

Colour vision & accessibility

Protanopia#010F25no red cones; affects about 1% of men; ΔE 1.9 from the original
Deuteranopia#000C24no green cones; the most common form, about 1% of men; ΔE 1.1 from the original
Tritanopia#001216no blue cones; rare, and affects men and women equally; ΔE 14.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.39:1WCAG large text: AAA
Contrast with black, large text1.08:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 17.12, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#241C04
Analogous#041C24, #0C0424
Triadic#24040C, #0C2404
Split complementary#240C04, #1C2404
Tetradic#24041C, #241C04, #04240C

Tints, shades & saturation

Lighter +40%#1849DC
Lighter +30%#133AAE
Lighter +20%#0E2B80
Lighter +10%#091B52
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000A28
Less saturated −25%#090E1F

Channel breakdown

R4
G12
B36
Red4 (1.6%)
Green12 (4.7%)
Blue36 (14.1%)
Hue225°
Saturation (HSL)80%
Lightness7.84%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 24

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