#08051E#08051E

#08051E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.1% C 0.053 H 284.1°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#08051E
RGBrgb(8, 5, 30)
HSLhsl(247, 71%, 7%)
HSVhsv(247, 83%, 12%)
CMYKcmyk(73.3%, 83.3%, 0%, 88.2%)
CIE-LABlab(2.29, 6.04, -13.66)
CIE-LCHlch(2.29, 14.93, 293.85°)
OKLaboklab(14.14% 0.013 -0.0514)
OKLCHoklch(14.14% 0.053 284.1)
XYZxyz(0.3887, 0.2539, 1.2566)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08051E #1B1E05
analogous
#050F1E #08051E #15051E
triadic
#08051E #1E0805 #051E08
tetradic
#08051E #1E050F #1B1E05 #051E15
square
#08051E #1E050F #1B1E05 #051E15
split-complementary
#08051E #1E1505 #0F1E05
monochromatic
#07041A #07041A #08051E #160E52 #241687

Accessibility & contrast

On white

19.98
#08051E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08051E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08051E
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08051E#FFFFFF#000000##FFFFFF
##08051E1.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091F
Deuteranopia (green-blind)
#00081D
Tritanopia (blue-blind)
#020A10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08051e;
/* rgb */ color: rgb(8, 5, 30);
/* oklch */ color: oklch(14.1% 0.053 284.1);
Tailwind
colors: {
  custom: {
    50: '#4a4959',
    500: '#08051e',
    950: '#000000',
  },
}
SCSS
$custom: #08051e;
$custom-light: #4a4959;
$custom-dark: #000000;
JSON
{
  "hex": "#08051e",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 30
  },
  "hsl": {
    "h": 247.2,
    "s": 71.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.14137,
    "c": 0.05303,
    "h": 284.1
  },
  "luminance": 0.00254
}

Semantic roles & 50–950 ramp

primary
#08051E
secondary
#575F20
accent
#EE3AD9
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08051E

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

Preview Lab → · Contrast checker → · Palette generator →

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