#040F0D#040F0D

#040F0D is a very dark, near-neutral teal. Relative luminance 0.004; OKLCH L 15.6% C 0.019 H 182.3°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#040F0D
RGBrgb(4, 15, 13)
HSLhsl(169, 58%, 4%)
HSVhsv(169, 73%, 6%)
CMYKcmyk(73.3%, 0%, 13.3%, 94.1%)
CIE-LABlab(3.58, -3.41, -0.14)
CIE-LCHlch(3.58, 3.42, 182.42°)
OKLaboklab(15.6% -0.0186 -0.0008)
OKLCHoklch(15.6% 0.019 182.3)
XYZxyz(0.2935, 0.3965, 0.4418)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F0D #0F0406
analogous
#040F07 #040F0D #040B0F
triadic
#040F0D #0D040F #0F0D04
tetradic
#040F0D #07040F #0F0406 #0B0F04
square
#040F0D #07040F #0F0406 #0B0F04
split-complementary
#040F0D #0F040B #0F0704
monochromatic
#061815 #061815 #061815 #113F37 #1E7061

Accessibility & contrast

On white

19.46
#040F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040F0D
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F0D#FFFFFF#000000##FFFFFF
##040F0D1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0D
Deuteranopia (green-blind)
#0C0C0D
Tritanopia (blue-blind)
#010F0E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040f0d;
/* rgb */ color: rgb(4, 15, 13);
/* oklch */ color: oklch(15.6% 0.019 182.3);
Tailwind
colors: {
  custom: {
    50: '#484e4d',
    500: '#040f0d',
    950: '#000000',
  },
}
SCSS
$custom: #040f0d;
$custom-light: #484e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#040f0d",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 13
  },
  "hsl": {
    "h": 169.091,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.15595,
    "c": 0.0186,
    "h": 182.3
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#040F0D
secondary
#4E2129
accent
#4763E1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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