#04080B#04080B

#04080B is a very dark, near-neutral cyan. Relative luminance 0.002; OKLCH L 13.0% C 0.011 H 233.8°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#04080B
RGBrgb(4, 8, 11)
HSLhsl(206, 47%, 3%)
HSVhsv(206, 64%, 4%)
CMYKcmyk(63.6%, 27.3%, 0%, 95.7%)
CIE-LABlab(2.02, -0.62, -1.51)
CIE-LCHlch(2.02, 1.64, 247.61°)
OKLaboklab(13.01% -0.0067 -0.0092)
OKLCHoklch(13.01% 0.011 233.8)
XYZxyz(0.1973, 0.2236, 0.3493)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04080B #0B0704
analogous
#040B0A #04080B #04040B
triadic
#04080B #0B0408 #080B04
tetradic
#04080B #0A040B #0B0704 #040B04
square
#04080B #0A040B #0B0704 #040B04
split-complementary
#04080B #0B0404 #0B0A04
monochromatic
#081016 #081016 #081016 #142938 #254965

Accessibility & contrast

On white

20.10
#04080B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#04080B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04080B
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04080B#FFFFFF#000000##FFFFFF
##04080B1.0020.101.0420.10
#FFFFFF20.101.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07080B
Deuteranopia (green-blind)
#06070B
Tritanopia (blue-blind)
#020909
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #04080b;
/* rgb */ color: rgb(4, 8, 11);
/* oklch */ color: oklch(13.0% 0.011 233.8);
Tailwind
colors: {
  custom: {
    50: '#484a4c',
    500: '#04080b',
    950: '#000000',
  },
}
SCSS
$custom: #04080b;
$custom-light: #484a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#04080b",
  "rgb": {
    "r": 4,
    "g": 8,
    "b": 11
  },
  "hsl": {
    "h": 205.714,
    "s": 46.667,
    "l": 2.941
  },
  "oklch": {
    "l": 0.13012,
    "c": 0.0114,
    "h": 233.8
  },
  "luminance": 0.00224
}

Semantic roles & 50–950 ramp

primary
#04080B
secondary
#473324
accent
#8A51D6
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #04080B

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

Preview Lab → · Contrast checker → · Palette generator →

#04080B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva