#040D13#040D13

#040D13 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 15.2% C 0.020 H 235.0°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#040D13
RGBrgb(4, 13, 19)
HSLhsl(204, 65%, 5%)
HSVhsv(204, 79%, 7%)
CMYKcmyk(78.9%, 31.6%, 0%, 92.5%)
CIE-LABlab(3.26, -1.28, -3.95)
CIE-LCHlch(3.26, 4.16, 252.02°)
OKLaboklab(15.23% -0.0116 -0.0166)
OKLCHoklch(15.23% 0.02 235)
XYZxyz(0.3115, 0.3607, 0.6692)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040D13 #130A04
analogous
#041312 #040D13 #040613
triadic
#040D13 #13040D #0D1304
tetradic
#040D13 #120413 #130A04 #061304
square
#040D13 #120413 #130A04 #061304
split-complementary
#040D13 #130406 #131204
monochromatic
#051119 #051119 #051119 #0F3046 #195278

Accessibility & contrast

On white

19.59
#040D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040D13
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040D13#FFFFFF#000000##FFFFFF
##040D131.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0D13
Deuteranopia (green-blind)
#080B13
Tritanopia (blue-blind)
#000F0F
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040d13;
/* rgb */ color: rgb(4, 13, 19);
/* oklch */ color: oklch(15.2% 0.020 235.0);
Tailwind
colors: {
  custom: {
    50: '#484d50',
    500: '#040d13',
    950: '#000000',
  },
}
SCSS
$custom: #040d13;
$custom-light: #484d50;
$custom-dark: #000000;
JSON
{
  "hex": "#040d13",
  "rgb": {
    "r": 4,
    "g": 13,
    "b": 19
  },
  "hsl": {
    "h": 204,
    "s": 65.217,
    "l": 4.51
  },
  "oklch": {
    "l": 0.15233,
    "c": 0.02029,
    "h": 235
  },
  "luminance": 0.00361
}

Semantic roles & 50–950 ramp

primary
#040D13
secondary
#54341F
accent
#8340E8
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #040D13

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

Preview Lab → · Contrast checker → · Palette generator →

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