#040F11#040F11

#040F11 is a very dark, near-neutral teal. Relative luminance 0.004; OKLCH L 15.8% C 0.018 H 208.8°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#040F11
RGBrgb(4, 15, 17)
HSLhsl(189, 62%, 4%)
HSVhsv(189, 76%, 7%)
CMYKcmyk(76.5%, 11.8%, 0%, 93.3%)
CIE-LABlab(3.68, -2.69, -2.12)
CIE-LCHlch(3.68, 3.42, 218.16°)
OKLaboklab(15.79% -0.0161 -0.0089)
OKLCHoklch(15.79% 0.018 208.8)
XYZxyz(0.3220, 0.4079, 0.5920)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F11 #110604
analogous
#04110D #040F11 #040911
triadic
#040F11 #11040F #0F1104
tetradic
#040F11 #0D0411 #110604 #091104
square
#040F11 #0D0411 #110604 #091104
split-complementary
#040F11 #110409 #110D04
monochromatic
#061619 #061619 #061619 #103B43 #1B6674

Accessibility & contrast

On white

19.42
#040F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040F11
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F11#FFFFFF#000000##FFFFFF
##040F111.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E11
Deuteranopia (green-blind)
#0B0C11
Tritanopia (blue-blind)
#011010
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040f11;
/* rgb */ color: rgb(4, 15, 17);
/* oklch */ color: oklch(15.8% 0.018 208.8);
Tailwind
colors: {
  custom: {
    50: '#484e4f',
    500: '#040f11',
    950: '#000000',
  },
}
SCSS
$custom: #040f11;
$custom-light: #484e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#040f11",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 189.231,
    "s": 61.905,
    "l": 4.118
  },
  "oklch": {
    "l": 0.15793,
    "c": 0.01837,
    "h": 208.8
  },
  "luminance": 0.00408
}

Semantic roles & 50–950 ramp

primary
#040F11
secondary
#512720
accent
#5C43E5
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040F11

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

Preview Lab → · Contrast checker → · Palette generator →

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