Nerdulator> put something in

Recognised as Colour

#040C21

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

#040C21 is a blue with RGB values 4, 12, 33 and HSL 223°, 78%, 7%. 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

#040C21#040C21
HEX#040C21
RGBrgb(4, 12, 33)
RGB (0–1)0.0157, 0.0471, 0.1294
RGB percentages1.6%, 4.7%, 12.9%
HSLhsl(223.4, 78.4%, 7.3%)
HSV / HSBhsv(223.4, 87.9%, 12.9%)
CMYK87.9%, 63.6%, 0%, 87.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,249
CSS custom property--colour: #040C21;

Brightness & contrast

Relative luminance0.00399WCAG 2.x, 0 is black and 1 is white
Perceived brightness14.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.45:1
Contrast with white19.45:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#FBF3DE

Colour vision & accessibility

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

Named colours

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

Colour harmonies

Complementary#211904
Analogous#041B21, #0A0421
Triadic#21040C, #0C2104
Split complementary#210A04, #1B2104
Tetradic#21041B, #211904, #04210A

Tints, shades & saturation

Lighter +40%#1A4ED7
Lighter +30%#153EA9
Lighter +20%#0F2D7C
Lighter +10%#0A1D4E
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000A25
Less saturated −25%#090E1C

Channel breakdown

R4
G12
B33
Red4 (1.6%)
Green12 (4.7%)
Blue33 (12.9%)
Hue223.45°
Saturation (HSL)78.38%
Lightness7.25%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 21

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