#08051C#08051C

#08051C is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.9% C 0.049 H 285.4°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#08051C
RGBrgb(8, 5, 28)
HSLhsl(248, 70%, 6%)
HSVhsv(248, 82%, 11%)
CMYKcmyk(71.4%, 82.1%, 0%, 89%)
CIE-LABlab(2.20, 5.41, -12.19)
CIE-LCHlch(2.20, 13.34, 293.92°)
OKLaboklab(13.92% 0.0132 -0.0477)
OKLCHoklch(13.92% 0.049 285.4)
XYZxyz(0.3639, 0.2440, 1.1263)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08051C #191C05
analogous
#050E1C #08051C #14051C
triadic
#08051C #1C0805 #051C08
tetradic
#08051C #1C050E #191C05 #051C14
square
#08051C #1C050E #191C05 #051C14
split-complementary
#08051C #1C1405 #0E1C05
monochromatic
#07051A #07051A #08051C #170E50 #261884

Accessibility & contrast

On white

20.02
#08051C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08051C
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08051C#FFFFFF#000000##FFFFFF
##08051C1.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091D
Deuteranopia (green-blind)
#00071C
Tritanopia (blue-blind)
#030A0F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08051c;
/* rgb */ color: rgb(8, 5, 28);
/* oklch */ color: oklch(13.9% 0.049 285.4);
Tailwind
colors: {
  custom: {
    50: '#4a4958',
    500: '#08051c',
    950: '#000000',
  },
}
SCSS
$custom: #08051c;
$custom-light: #4a4958;
$custom-dark: #000000;
JSON
{
  "hex": "#08051c",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 28
  },
  "hsl": {
    "h": 247.826,
    "s": 69.697,
    "l": 6.471
  },
  "oklch": {
    "l": 0.1392,
    "c": 0.04949,
    "h": 285.4
  },
  "luminance": 0.00244
}

Semantic roles & 50–950 ramp

primary
#08051C
secondary
#555D20
accent
#ED3BD5
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08051C

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

Preview Lab → · Contrast checker → · Palette generator →

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