#08041E#08041E

#08041E is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.8% C 0.056 H 285.6°. Best body text is #FFFFFF at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#08041E
RGBrgb(8, 4, 30)
HSLhsl(249, 76%, 7%)
HSVhsv(249, 87%, 12%)
CMYKcmyk(73.3%, 86.7%, 0%, 88.2%)
CIE-LABlab(2.10, 6.44, -13.95)
CIE-LCHlch(2.10, 15.36, 294.77°)
OKLaboklab(13.8% 0.015 -0.0536)
OKLCHoklch(13.8% 0.056 285.6)
XYZxyz(0.3778, 0.2322, 1.2529)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08041E #1A1E04
analogous
#040D1E #08041E #15041E
triadic
#08041E #1E0804 #041E08
tetradic
#08041E #1E040D #1A1E04 #041E15
square
#08041E #1E040D #1A1E04 #041E15
split-complementary
#08041E #1E1504 #0D1E04
monochromatic
#07041B #07041B #08041E #160B54 #25128A

Accessibility & contrast

On white

20.07
#08041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08041E
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08041E#FFFFFF#000000##FFFFFF
##08041E1.0020.071.0520.07
#FFFFFF20.071.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081F
Deuteranopia (green-blind)
#00071D
Tritanopia (blue-blind)
#02090F
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08041e;
/* rgb */ color: rgb(8, 4, 30);
/* oklch */ color: oklch(13.8% 0.056 285.6);
Tailwind
colors: {
  custom: {
    50: '#4a4859',
    500: '#08041e',
    950: '#000000',
  },
}
SCSS
$custom: #08041e;
$custom-light: #4a4859;
$custom-dark: #000000;
JSON
{
  "hex": "#08041e",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 249.231,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.13801,
    "c": 0.05571,
    "h": 285.6
  },
  "luminance": 0.00232
}

Semantic roles & 50–950 ramp

primary
#08041E
secondary
#56611D
accent
#F335D6
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08041E

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

Preview Lab → · Contrast checker → · Palette generator →

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