#08051B#08051B

#08051B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.8% C 0.048 H 286.1°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#08051B
RGBrgb(8, 5, 27)
HSLhsl(248, 69%, 6%)
HSVhsv(248, 81%, 11%)
CMYKcmyk(70.4%, 81.5%, 0%, 89.4%)
CIE-LABlab(2.16, 5.11, -11.45)
CIE-LCHlch(2.16, 12.54, 294.05°)
OKLaboklab(13.81% 0.0132 -0.0458)
OKLCHoklch(13.81% 0.048 286.1)
XYZxyz(0.3522, 0.2393, 1.0643)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08051B #181B05
analogous
#050D1B #08051B #13051B
triadic
#08051B #1B0805 #051B08
tetradic
#08051B #1B050D #181B05 #051B13
square
#08051B #1B050D #181B05 #051B13
split-complementary
#08051B #1B1305 #0D1B05
monochromatic
#08051A #08051A #08051B #170F4F #271882

Accessibility & contrast

On white

20.04
#08051B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08051B
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08051B#FFFFFF#000000##FFFFFF
##08051B1.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081C
Deuteranopia (green-blind)
#00071B
Tritanopia (blue-blind)
#03090E
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08051b;
/* rgb */ color: rgb(8, 5, 27);
/* oklch */ color: oklch(13.8% 0.048 286.1);
Tailwind
colors: {
  custom: {
    50: '#4a4957',
    500: '#08051b',
    950: '#000000',
  },
}
SCSS
$custom: #08051b;
$custom-light: #4a4957;
$custom-dark: #000000;
JSON
{
  "hex": "#08051b",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 27
  },
  "hsl": {
    "h": 248.182,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13814,
    "c": 0.0477,
    "h": 286.1
  },
  "luminance": 0.00239
}

Semantic roles & 50–950 ramp

primary
#08051B
secondary
#545C20
accent
#EC3CD4
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08051B

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

Preview Lab → · Contrast checker → · Palette generator →

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