#040D11#040D11

#040D11 is a very dark, near-neutral cyan. Relative luminance 0.004; OKLCH L 15.1% C 0.018 H 224.5°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#040D11
RGBrgb(4, 13, 17)
HSLhsl(198, 62%, 4%)
HSVhsv(198, 76%, 7%)
CMYKcmyk(76.5%, 23.5%, 0%, 93.3%)
CIE-LABlab(3.20, -1.70, -2.82)
CIE-LCHlch(3.20, 3.30, 238.98°)
OKLaboklab(15.11% -0.0127 -0.0125)
OKLCHoklch(15.11% 0.018 224.5)
XYZxyz(0.2951, 0.3541, 0.5830)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D11 #110804
analogous
#04110F #040D11 #040711
triadic
#040D11 #11040D #0D1104
tetradic
#040D11 #0F0411 #110804 #071104
square
#040D11 #0F0411 #110804 #071104
split-complementary
#040D11 #110407 #110F04
monochromatic
#061319 #061319 #061319 #103343 #1B5974

Accessibility & contrast

On white

19.61
#040D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040D11
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D11#FFFFFF#000000##FFFFFF
##040D111.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D11
Deuteranopia (green-blind)
#090B11
Tritanopia (blue-blind)
#010E0E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040d11;
/* rgb */ color: rgb(4, 13, 17);
/* oklch */ color: oklch(15.1% 0.018 224.5);
Tailwind
colors: {
  custom: {
    50: '#484d4f',
    500: '#040d11',
    950: '#000000',
  },
}
SCSS
$custom: #040d11;
$custom-light: #484d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#040d11",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 17
  },
  "hsl": {
    "h": 198.462,
    "s": 61.905,
    "l": 4.118
  },
  "oklch": {
    "l": 0.15111,
    "c": 0.01781,
    "h": 224.5
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#040D11
secondary
#512F20
accent
#7543E5
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040D11

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

Preview Lab → · Contrast checker → · Palette generator →

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