#040D19#040D19

#040D19 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 15.7% C 0.030 H 252.8°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#040D19
RGBrgb(4, 13, 25)
HSLhsl(214, 72%, 6%)
HSVhsv(214, 84%, 10%)
CMYKcmyk(84%, 48%, 0%, 90.2%)
CIE-LABlab(3.47, 0.19, -7.96)
CIE-LCHlch(3.47, 7.96, 271.36°)
OKLaboklab(15.65% -0.0089 -0.0289)
OKLCHoklch(15.65% 0.03 252.8)
XYZxyz(0.3694, 0.3838, 0.9741)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D19 #191004
analogous
#041719 #040D19 #050419
triadic
#040D19 #19040D #0D1904
tetradic
#040D19 #190417 #191004 #041905
square
#040D19 #190417 #191004 #041905
split-complementary
#040D19 #190504 #171904
monochromatic
#040E1A #040E1A #040E1A #0C284E #154483

Accessibility & contrast

On white

19.50
#040D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040D19
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D19#FFFFFF#000000##FFFFFF
##040D191.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1A
Deuteranopia (green-blind)
#060B19
Tritanopia (blue-blind)
#001011
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040d19;
/* rgb */ color: rgb(4, 13, 25);
/* oklch */ color: oklch(15.7% 0.030 252.8);
Tailwind
colors: {
  custom: {
    50: '#484d55',
    500: '#040d19',
    950: '#000000',
  },
}
SCSS
$custom: #040d19;
$custom-light: #484d55;
$custom-dark: #000000;
JSON
{
  "hex": "#040d19",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 25
  },
  "hsl": {
    "h": 214.286,
    "s": 72.414,
    "l": 5.686
  },
  "oklch": {
    "l": 0.1565,
    "c": 0.03021,
    "h": 252.8
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#040D19
secondary
#5B411E
accent
#A139EF
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000103
muted
#777778

Preview Lab

Preview with #040D19

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

Preview Lab → · Contrast checker → · Palette generator →

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