#08081E#08081E

#08081E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.1% C 0.046 H 279.3°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#08081E
RGBrgb(8, 8, 30)
HSLhsl(240, 58%, 7%)
HSVhsv(240, 73%, 12%)
CMYKcmyk(73.3%, 73.3%, 0%, 88.2%)
CIE-LABlab(2.88, 4.83, -12.77)
CIE-LCHlch(2.88, 13.66, 290.73°)
OKLaboklab(15.06% 0.0075 -0.0454)
OKLCHoklch(15.06% 0.046 279.3)
XYZxyz(0.4212, 0.3190, 1.2674)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08081E #1E1E08
analogous
#08131E #08081E #13081E
triadic
#08081E #1E0808 #081E08
tetradic
#08081E #1E0813 #1E1E08 #081E13
square
#08081E #1E0813 #1E1E08 #081E13
split-complementary
#08081E #1E1308 #131E08
monochromatic
#060618 #060618 #08081E #15154E #22227F

Accessibility & contrast

On white

19.74
#08081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08081E
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08081E#FFFFFF#000000##FFFFFF
##08081E1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010B1F
Deuteranopia (green-blind)
#000A1E
Tritanopia (blue-blind)
#020D11
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #08081e;
/* rgb */ color: rgb(8, 8, 30);
/* oklch */ color: oklch(15.1% 0.046 279.3);
Tailwind
colors: {
  custom: {
    50: '#4a4a59',
    500: '#08081e',
    950: '#000000',
  },
}
SCSS
$custom: #08081e;
$custom-light: #4a4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#08081e",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.15061,
    "c": 0.04604,
    "h": 279.3
  },
  "luminance": 0.00319
}

Semantic roles & 50–950 ramp

primary
#08081E
secondary
#5B5B27
accent
#E147E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08081E

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

Preview Lab → · Contrast checker → · Palette generator →

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