#08081D#08081D

#08081D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.0% C 0.044 H 279.7°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#08081D
RGBrgb(8, 8, 29)
HSLhsl(240, 57%, 7%)
HSVhsv(240, 72%, 11%)
CMYKcmyk(72.4%, 72.4%, 0%, 88.6%)
CIE-LABlab(2.84, 4.52, -12.05)
CIE-LCHlch(2.84, 12.87, 290.55°)
OKLaboklab(14.96% 0.0074 -0.0435)
OKLCHoklch(14.96% 0.044 279.7)
XYZxyz(0.4087, 0.3140, 1.2012)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08081D #1D1D08
analogous
#08131D #08081D #13081D
triadic
#08081D #1D0808 #081D08
tetradic
#08081D #1D0813 #1D1D08 #081D13
square
#08081D #1D0813 #1D1D08 #081D13
split-complementary
#08081D #1D1308 #131D08
monochromatic
#070718 #070718 #08081D #15154D #22227D

Accessibility & contrast

On white

19.76
#08081D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#08081D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08081D
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08081D#FFFFFF#000000##FFFFFF
##08081D1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010B1E
Deuteranopia (green-blind)
#010A1D
Tritanopia (blue-blind)
#020D11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08081d;
/* rgb */ color: rgb(8, 8, 29);
/* oklch */ color: oklch(15.0% 0.044 279.7);
Tailwind
colors: {
  custom: {
    50: '#4a4a58',
    500: '#08081d',
    950: '#000000',
  },
}
SCSS
$custom: #08081d;
$custom-light: #4a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#08081d",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 29
  },
  "hsl": {
    "h": 240,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.14964,
    "c": 0.04414,
    "h": 279.7
  },
  "luminance": 0.00314
}

Semantic roles & 50–950 ramp

primary
#08081D
secondary
#5A5A27
accent
#E048E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08081D

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

Preview Lab → · Contrast checker → · Palette generator →

#08081D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva