#08081F#08081F

#08081F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.2% C 0.048 H 279.0°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#08081F
RGBrgb(8, 8, 31)
HSLhsl(240, 59%, 8%)
HSVhsv(240, 74%, 12%)
CMYKcmyk(74.2%, 74.2%, 0%, 87.8%)
CIE-LABlab(2.93, 5.16, -13.49)
CIE-LCHlch(2.93, 14.45, 290.94°)
OKLaboklab(15.16% 0.0075 -0.0473)
OKLCHoklch(15.16% 0.048 279)
XYZxyz(0.4342, 0.3242, 1.3358)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08081F #1F1F08
analogous
#08131F #08081F #13081F
triadic
#08081F #1F0808 #081F08
tetradic
#08081F #1F0813 #1F1F08 #081F13
square
#08081F #1F0813 #1F1F08 #081F13
split-complementary
#08081F #1F1308 #131F08
monochromatic
#060618 #060618 #08081F #151550 #212180

Accessibility & contrast

On white

19.72
#08081F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08081F
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08081F#FFFFFF#000000##FFFFFF
##08081F1.0019.721.0619.72
#FFFFFF19.721.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C20
Deuteranopia (green-blind)
#000A1F
Tritanopia (blue-blind)
#010D12
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #08081f;
/* rgb */ color: rgb(8, 8, 31);
/* oklch */ color: oklch(15.2% 0.048 279.0);
Tailwind
colors: {
  custom: {
    50: '#4a4a5a',
    500: '#08081f',
    950: '#000000',
  },
}
SCSS
$custom: #08081f;
$custom-light: #4a4a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08081f",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 31
  },
  "hsl": {
    "h": 240,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15159,
    "c": 0.0479,
    "h": 279
  },
  "luminance": 0.00324
}

Semantic roles & 50–950 ramp

primary
#08081F
secondary
#5C5C26
accent
#E246E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #08081F

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

Preview Lab → · Contrast checker → · Palette generator →

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