#040B13#040B13

#040B13 is a very dark, muted cyan. Relative luminance 0.003; OKLCH L 14.6% C 0.022 H 247.8°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#040B13
RGBrgb(4, 11, 19)
HSLhsl(212, 65%, 5%)
HSVhsv(212, 79%, 7%)
CMYKcmyk(78.9%, 42.1%, 0%, 92.5%)
CIE-LABlab(2.82, -0.39, -4.59)
CIE-LCHlch(2.82, 4.61, 265.14°)
OKLaboklab(14.57% -0.0083 -0.0203)
OKLCHoklch(14.57% 0.022 247.8)
XYZxyz(0.2872, 0.3122, 0.6611)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B13 #130C04
analogous
#041313 #040B13 #050413
triadic
#040B13 #13040B #0B1304
tetradic
#040B13 #130413 #130C04 #041305
square
#040B13 #130413 #130C04 #041305
split-complementary
#040B13 #130504 #131304
monochromatic
#050F19 #050F19 #050F19 #0F2846 #194678

Accessibility & contrast

On white

19.77
#040B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#040B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040B13
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B13#FFFFFF#000000##FFFFFF
##040B131.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080B13
Deuteranopia (green-blind)
#060A13
Tritanopia (blue-blind)
#000D0E
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #040b13;
/* rgb */ color: rgb(4, 11, 19);
/* oklch */ color: oklch(14.6% 0.022 247.8);
Tailwind
colors: {
  custom: {
    50: '#484c50',
    500: '#040b13',
    950: '#000000',
  },
}
SCSS
$custom: #040b13;
$custom-light: #484c50;
$custom-dark: #000000;
JSON
{
  "hex": "#040b13",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 19
  },
  "hsl": {
    "h": 212,
    "s": 65.217,
    "l": 4.51
  },
  "oklch": {
    "l": 0.14572,
    "c": 0.02196,
    "h": 247.8
  },
  "luminance": 0.00312
}

Semantic roles & 50–950 ramp

primary
#040B13
secondary
#543B1F
accent
#9A40E8
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #040B13

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

Preview Lab → · Contrast checker → · Palette generator →

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