#08081C#08081C

#08081C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.9% C 0.042 H 280.0°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#08081C
RGBrgb(8, 8, 28)
HSLhsl(240, 56%, 7%)
HSVhsv(240, 71%, 11%)
CMYKcmyk(71.4%, 71.4%, 0%, 89%)
CIE-LABlab(2.79, 4.21, -11.32)
CIE-LCHlch(2.79, 12.07, 290.39°)
OKLaboklab(14.87% 0.0073 -0.0416)
OKLCHoklch(14.87% 0.042 280)
XYZxyz(0.3965, 0.3091, 1.1372)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08081C #1C1C08
analogous
#08121C #08081C #12081C
triadic
#08081C #1C0808 #081C08
tetradic
#08081C #1C0812 #1C1C08 #081C12
square
#08081C #1C0812 #1C1C08 #081C12
split-complementary
#08081C #1C1208 #121C08
monochromatic
#070718 #070718 #08081C #16164C #23237B

Accessibility & contrast

On white

19.78
#08081C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08081C
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08081C#FFFFFF#000000##FFFFFF
##08081C1.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020B1D
Deuteranopia (green-blind)
#01091C
Tritanopia (blue-blind)
#030C10
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08081c;
/* rgb */ color: rgb(8, 8, 28);
/* oklch */ color: oklch(14.9% 0.042 280.0);
Tailwind
colors: {
  custom: {
    50: '#4a4a58',
    500: '#08081c',
    950: '#000000',
  },
}
SCSS
$custom: #08081c;
$custom-light: #4a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#08081c",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 28
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1487,
    "c": 0.04224,
    "h": 280
  },
  "luminance": 0.00309
}

Semantic roles & 50–950 ramp

primary
#08081C
secondary
#595927
accent
#DF49DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08081C

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

Preview Lab → · Contrast checker → · Palette generator →

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