#08051A#08051A

#08051A is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.7% C 0.046 H 286.8°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#08051A
RGBrgb(8, 5, 26)
HSLhsl(249, 68%, 6%)
HSVhsv(249, 81%, 10%)
CMYKcmyk(69.2%, 80.8%, 0%, 89.8%)
CIE-LABlab(2.12, 4.82, -10.70)
CIE-LCHlch(2.12, 11.74, 294.25°)
OKLaboklab(13.71% 0.0133 -0.0439)
OKLCHoklch(13.71% 0.046 286.8)
XYZxyz(0.3408, 0.2347, 1.0044)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08051A #171A05
analogous
#050C1A #08051A #12051A
triadic
#08051A #1A0805 #051A08
tetradic
#08051A #1A050C #171A05 #051A12
square
#08051A #1A050C #171A05 #051A12
split-complementary
#08051A #1A1205 #0C1A05
monochromatic
#08051A #08051A #08051A #180F4D #281981

Accessibility & contrast

On white

20.06
#08051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08051A
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08051A#FFFFFF#000000##FFFFFF
##08051A1.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081B
Deuteranopia (green-blind)
#00071A
Tritanopia (blue-blind)
#04090D
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08051a;
/* rgb */ color: rgb(8, 5, 26);
/* oklch */ color: oklch(13.7% 0.046 286.8);
Tailwind
colors: {
  custom: {
    50: '#4a4956',
    500: '#08051a',
    950: '#000000',
  },
}
SCSS
$custom: #08051a;
$custom-light: #4a4956;
$custom-dark: #000000;
JSON
{
  "hex": "#08051a",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 248.571,
    "s": 67.742,
    "l": 6.078
  },
  "oklch": {
    "l": 0.1371,
    "c": 0.04589,
    "h": 286.8
  },
  "luminance": 0.00235
}

Semantic roles & 50–950 ramp

primary
#08051A
secondary
#525B20
accent
#EB3DD2
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08051A

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

Preview Lab → · Contrast checker → · Palette generator →

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