#040B0F#040B0F

#040B0F is a very dark, near-neutral cyan. Relative luminance 0.003; OKLCH L 14.3% C 0.016 H 229.2°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#040B0F
RGBrgb(4, 11, 15)
HSLhsl(202, 58%, 4%)
HSVhsv(202, 73%, 6%)
CMYKcmyk(73.3%, 26.7%, 0%, 94.1%)
CIE-LABlab(2.71, -1.18, -2.43)
CIE-LCHlch(2.71, 2.70, 244.07°)
OKLaboklab(14.31% -0.0103 -0.012)
OKLCHoklch(14.31% 0.016 229.2)
XYZxyz(0.2559, 0.2996, 0.4962)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B0F #0F0804
analogous
#040F0D #040B0F #04050F
triadic
#040B0F #0F040B #0B0F04
tetradic
#040B0F #0D040F #0F0804 #050F04
square
#040B0F #0D040F #0F0804 #050F04
split-complementary
#040B0F #0F0405 #0F0D04
monochromatic
#061218 #061218 #061218 #112E3F #1E5270

Accessibility & contrast

On white

19.81
#040B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040B0F
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B0F#FFFFFF#000000##FFFFFF
##040B0F1.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B0F
Deuteranopia (green-blind)
#07090F
Tritanopia (blue-blind)
#010C0C
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #040b0f;
/* rgb */ color: rgb(4, 11, 15);
/* oklch */ color: oklch(14.3% 0.016 229.2);
Tailwind
colors: {
  custom: {
    50: '#484c4e',
    500: '#040b0f',
    950: '#000000',
  },
}
SCSS
$custom: #040b0f;
$custom-light: #484c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#040b0f",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 15
  },
  "hsl": {
    "h": 201.818,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.14314,
    "c": 0.01581,
    "h": 229.2
  },
  "luminance": 0.003
}

Semantic roles & 50–950 ramp

primary
#040B0F
secondary
#4E3121
accent
#7F47E1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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