Nerdulator> put something in

Recognised as Colour

#040F27

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

#040F27 is a blue with RGB values 4, 15, 39 and HSL 221°, 81%, 8%. It is a dark colour, so white text on it reaches 19:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#040F27#040F27
HEX#040F27
RGBrgb(4, 15, 39)
RGB (0–1)0.0157, 0.0588, 0.1529
RGB percentages1.6%, 5.9%, 15.3%
HSLhsl(221.1, 81.4%, 8.4%)
HSV / HSBhsv(221.1, 89.7%, 15.3%)
CMYK89.7%, 61.5%, 0%, 84.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer266,023
CSS custom property--colour: #040F27;

Brightness & contrast

Relative luminance0.00514WCAG 2.x, 0 is black and 1 is white
Perceived brightness17.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.04:1
Contrast with white19.04:1WCAG normal text: AAA
Contrast with black1.1:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FBF0D8

Colour vision & accessibility

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

Named colours

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

Colour harmonies

Complementary#271C04
Analogous#042127, #0A0427
Triadic#27040F, #0F2704
Split complementary#270B04, #202704
Tetradic#270421, #271C04, #04270B

Tints, shades & saturation

Lighter +40%#1756E0
Lighter +30%#1244B2
Lighter +20%#0D3384
Lighter +10%#092155
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000E2B
Less saturated −25%#091122

Channel breakdown

R4
G15
B39
Red4 (1.6%)
Green15 (5.9%)
Blue39 (15.3%)
Hue221.14°
Saturation (HSL)81.4%
Lightness8.43%
Dominant channelBlue
Hex per channelR 04 · G 0F · B 27

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