#08041D#08041D

#08041D is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.7% C 0.054 H 286.3°. Best body text is #FFFFFF at 20.09:1 contrast (WCAG AA passes).

Color values

HEX#08041D
RGBrgb(8, 4, 29)
HSLhsl(250, 76%, 6%)
HSVhsv(250, 86%, 11%)
CMYKcmyk(72.4%, 86.2%, 0%, 88.6%)
CIE-LABlab(2.05, 6.12, -13.22)
CIE-LCHlch(2.05, 14.57, 294.85°)
OKLaboklab(13.69% 0.0152 -0.0518)
OKLCHoklch(13.69% 0.054 286.3)
XYZxyz(0.3653, 0.2271, 1.1868)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08041D #191D04
analogous
#040D1D #08041D #15041D
triadic
#08041D #1D0804 #041D08
tetradic
#08041D #1D040D #191D04 #041D15
square
#08041D #1D040D #191D04 #041D15
split-complementary
#08041D #1D1504 #0D1D04
monochromatic
#07041B #07041B #08041D #170B53 #261389

Accessibility & contrast

On white

20.09
#08041D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08041D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08041D
20.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08041D#FFFFFF#000000##FFFFFF
##08041D1.0020.091.0520.09
#FFFFFF20.091.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08041d;
/* rgb */ color: rgb(8, 4, 29);
/* oklch */ color: oklch(13.7% 0.054 286.3);
Tailwind
colors: {
  custom: {
    50: '#4a4858',
    500: '#08041d',
    950: '#000000',
  },
}
SCSS
$custom: #08041d;
$custom-light: #4a4858;
$custom-dark: #000000;
JSON
{
  "hex": "#08041d",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 29
  },
  "hsl": {
    "h": 249.6,
    "s": 75.758,
    "l": 6.471
  },
  "oklch": {
    "l": 0.13686,
    "c": 0.05401,
    "h": 286.3
  },
  "luminance": 0.00227
}

Semantic roles & 50–950 ramp

primary
#08041D
secondary
#555F1D
accent
#F235D4
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08041D

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

Preview Lab → · Contrast checker → · Palette generator →

#08041D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva