#040B08#040B08

#040B08 is a very dark, near-neutral teal. Relative luminance 0.003; OKLCH L 14.0% C 0.015 H 169.1°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#040B08
RGBrgb(4, 11, 8)
HSLhsl(154, 47%, 3%)
HSVhsv(154, 64%, 4%)
CMYKcmyk(63.6%, 0%, 27.3%, 95.7%)
CIE-LABlab(2.55, -2.26, 0.50)
CIE-LCHlch(2.55, 2.31, 167.56°)
OKLaboklab(13.95% -0.0148 0.0029)
OKLCHoklch(13.95% 0.015 169.1)
XYZxyz(0.2136, 0.2827, 0.2730)
Luminance0.0028 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B08 #0B0407
analogous
#040B04 #040B08 #040A0B
triadic
#040B08 #08040B #0B0804
tetradic
#040B08 #04040B #0B0407 #0A0B04
square
#040B08 #04040B #0B0407 #0A0B04
split-complementary
#040B08 #0B040A #0B0404
monochromatic
#081610 #081610 #081610 #143829 #256549

Accessibility & contrast

On white

19.88
#040B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040B08
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B08#FFFFFF#000000##FFFFFF
##040B081.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0A08
Deuteranopia (green-blind)
#090908
Tritanopia (blue-blind)
#030B0A
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040b08;
/* rgb */ color: rgb(4, 11, 8);
/* oklch */ color: oklch(14.0% 0.015 169.1);
Tailwind
colors: {
  custom: {
    50: '#484c4a',
    500: '#040b08',
    950: '#000000',
  },
}
SCSS
$custom: #040b08;
$custom-light: #484c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#040b08",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 8
  },
  "hsl": {
    "h": 154.286,
    "s": 46.667,
    "l": 2.941
  },
  "oklch": {
    "l": 0.1395,
    "c": 0.01504,
    "h": 169.1
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

primary
#040B08
secondary
#472433
accent
#518AD6
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040B08

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

Preview Lab → · Contrast checker → · Palette generator →

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