#040D09#040D09

#040D09 is a very dark, near-neutral teal. Relative luminance 0.003; OKLCH L 14.7% C 0.018 H 167.5°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#040D09
RGBrgb(4, 13, 9)
HSLhsl(153, 53%, 3%)
HSVhsv(153, 69%, 5%)
CMYKcmyk(69.2%, 0%, 30.8%, 94.9%)
CIE-LABlab(3.01, -3.01, 0.76)
CIE-LCHlch(3.01, 3.11, 165.85°)
OKLaboklab(14.71% -0.0177 0.0039)
OKLCHoklch(14.71% 0.018 167.5)
XYZxyz(0.2433, 0.3334, 0.3099)
Luminance0.0033 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D09 #0D0408
analogous
#040D04 #040D09 #040C0D
triadic
#040D09 #09040D #0D0904
tetradic
#040D09 #04040D #0D0408 #0C0D04
square
#040D09 #04040D #0D0408 #0C0D04
split-complementary
#040D09 #0D040C #0D0404
monochromatic
#071710 #071710 #071710 #123C29 #216B4A

Accessibility & contrast

On white

19.69
#040D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040D09
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D09#FFFFFF#000000##FFFFFF
##040D091.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C09
Deuteranopia (green-blind)
#0B0A09
Tritanopia (blue-blind)
#020D0C
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040d09;
/* rgb */ color: rgb(4, 13, 9);
/* oklch */ color: oklch(14.7% 0.018 167.5);
Tailwind
colors: {
  custom: {
    50: '#484d4b',
    500: '#040d09',
    950: '#000000',
  },
}
SCSS
$custom: #040d09;
$custom-light: #484d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#040d09",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 9
  },
  "hsl": {
    "h": 153.333,
    "s": 52.941,
    "l": 3.333
  },
  "oklch": {
    "l": 0.14711,
    "c": 0.01816,
    "h": 167.5
  },
  "luminance": 0.00333
}

Semantic roles & 50–950 ramp

primary
#040D09
secondary
#4B2234
accent
#4B8CDC
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040D09

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

Preview Lab → · Contrast checker → · Palette generator →

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