#040E17#040E17

#040E17 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 15.8% C 0.026 H 243.8°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#040E17
RGBrgb(4, 14, 23)
HSLhsl(208, 70%, 5%)
HSVhsv(208, 83%, 9%)
CMYKcmyk(82.6%, 39.1%, 0%, 91%)
CIE-LABlab(3.63, -0.82, -6.17)
CIE-LCHlch(3.63, 6.23, 262.40°)
OKLaboklab(15.83% -0.0113 -0.023)
OKLCHoklch(15.83% 0.026 243.8)
XYZxyz(0.3617, 0.4017, 0.8689)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040E17 #170D04
analogous
#041716 #040E17 #040417
triadic
#040E17 #17040E #0E1704
tetradic
#040E17 #160417 #170D04 #041704
square
#040E17 #160417 #170D04 #041704
split-complementary
#040E17 #170404 #171604
monochromatic
#05101A #05101A #05101A #0D2E4B #164D7F

Accessibility & contrast

On white

19.44
#040E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#040E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040E17
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040E17#FFFFFF#000000##FFFFFF
##040E171.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0E17
Deuteranopia (green-blind)
#070C17
Tritanopia (blue-blind)
#001011
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040e17;
/* rgb */ color: rgb(4, 14, 23);
/* oklch */ color: oklch(15.8% 0.026 243.8);
Tailwind
colors: {
  custom: {
    50: '#484d53',
    500: '#040e17',
    950: '#000000',
  },
}
SCSS
$custom: #040e17;
$custom-light: #484d53;
$custom-dark: #000000;
JSON
{
  "hex": "#040e17",
  "rgb": {
    "r": 4,
    "g": 14,
    "b": 23
  },
  "hsl": {
    "h": 208.421,
    "s": 70.37,
    "l": 5.294
  },
  "oklch": {
    "l": 0.15826,
    "c": 0.02559,
    "h": 243.8
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#040E17
secondary
#593A1E
accent
#8F3BED
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #040E17

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#040E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva