#040B0E#040B0E

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

Color values

HEX#040B0E
RGBrgb(4, 11, 14)
HSLhsl(198, 56%, 4%)
HSVhsv(198, 71%, 5%)
CMYKcmyk(71.4%, 21.4%, 0%, 94.5%)
CIE-LABlab(2.68, -1.36, -1.95)
CIE-LCHlch(2.68, 2.38, 235.21°)
OKLaboklab(14.26% -0.0109 -0.0099)
OKLCHoklch(14.26% 0.015 222.2)
XYZxyz(0.2490, 0.2968, 0.4596)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B0E #0E0704
analogous
#040E0C #040B0E #04060E
triadic
#040B0E #0E040B #0B0E04
tetradic
#040B0E #0C040E #0E0704 #060E04
square
#040B0E #0C040E #0E0704 #060E04
split-complementary
#040B0E #0E0406 #0E0C04
monochromatic
#071318 #071318 #071318 #12303E #1F566D

Accessibility & contrast

On white

19.82
#040B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040B0E
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B0E#FFFFFF#000000##FFFFFF
##040B0E1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B0E
Deuteranopia (green-blind)
#08090E
Tritanopia (blue-blind)
#020C0C
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #040b0e;
/* rgb */ color: rgb(4, 11, 14);
/* oklch */ color: oklch(14.3% 0.015 222.2);
Tailwind
colors: {
  custom: {
    50: '#484c4d',
    500: '#040b0e',
    950: '#000000',
  },
}
SCSS
$custom: #040b0e;
$custom-light: #484c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#040b0e",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 14
  },
  "hsl": {
    "h": 198,
    "s": 55.556,
    "l": 3.529
  },
  "oklch": {
    "l": 0.14255,
    "c": 0.0147,
    "h": 222.2
  },
  "luminance": 0.00297
}

Semantic roles & 50–950 ramp

primary
#040B0E
secondary
#4C2E22
accent
#7649DF
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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