#040D14#040D14

#040D14 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 15.3% C 0.022 H 239.2°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#040D14
RGBrgb(4, 13, 20)
HSLhsl(206, 67%, 5%)
HSVhsv(206, 80%, 8%)
CMYKcmyk(80%, 35%, 0%, 92.2%)
CIE-LABlab(3.29, -1.06, -4.56)
CIE-LCHlch(3.29, 4.68, 256.91°)
OKLaboklab(15.3% -0.0111 -0.0187)
OKLCHoklch(15.3% 0.022 239.2)
XYZxyz(0.3202, 0.3641, 0.7151)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D14 #140B04
analogous
#041413 #040D14 #040514
triadic
#040D14 #14040D #0D1404
tetradic
#040D14 #130414 #140B04 #051404
square
#040D14 #130414 #140B04 #051404
split-complementary
#040D14 #140405 #141304
monochromatic
#05111A #05111A #05111A #0E2E47 #184F7A

Accessibility & contrast

On white

19.57
#040D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040D14
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D14#FFFFFF#000000##FFFFFF
##040D141.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0D14
Deuteranopia (green-blind)
#080B14
Tritanopia (blue-blind)
#000F0F
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040d14;
/* rgb */ color: rgb(4, 13, 20);
/* oklch */ color: oklch(15.3% 0.022 239.2);
Tailwind
colors: {
  custom: {
    50: '#484d51',
    500: '#040d14',
    950: '#000000',
  },
}
SCSS
$custom: #040d14;
$custom-light: #484d51;
$custom-dark: #000000;
JSON
{
  "hex": "#040d14",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 20
  },
  "hsl": {
    "h": 206.25,
    "s": 66.667,
    "l": 4.706
  },
  "oklch": {
    "l": 0.15297,
    "c": 0.02174,
    "h": 239.2
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#040D14
secondary
#55371F
accent
#893EEA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #040D14

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

Preview Lab → · Contrast checker → · Palette generator →

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