#08071D#08071D

#08071D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.7% C 0.046 H 281.4°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#08071D
RGBrgb(8, 7, 29)
HSLhsl(243, 61%, 7%)
HSVhsv(243, 76%, 11%)
CMYKcmyk(72.4%, 75.9%, 0%, 88.6%)
CIE-LABlab(2.64, 4.91, -12.34)
CIE-LCHlch(2.64, 13.28, 291.72°)
OKLaboklab(14.67% 0.0092 -0.0454)
OKLCHoklch(14.67% 0.046 281.4)
XYZxyz(0.3978, 0.2923, 1.1976)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071D #1C1D07
analogous
#07111D #08071D #13071D
triadic
#08071D #1D0807 #071D08
tetradic
#08071D #1D0711 #1C1D07 #071D13
square
#08071D #1D0711 #1C1D07 #071D13
split-complementary
#08071D #1D1307 #111D07
monochromatic
#070619 #070619 #08071D #16134E #231F80

Accessibility & contrast

On white

19.84
#08071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#08071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08071D
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071D#FFFFFF#000000##FFFFFF
##08071D1.0019.841.0619.84
#FFFFFF19.841.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1E
Deuteranopia (green-blind)
#00091D
Tritanopia (blue-blind)
#020C10
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08071d;
/* rgb */ color: rgb(8, 7, 29);
/* oklch */ color: oklch(14.7% 0.046 281.4);
Tailwind
colors: {
  custom: {
    50: '#4a4a58',
    500: '#08071d',
    950: '#000000',
  },
}
SCSS
$custom: #08071d;
$custom-light: #4a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#08071d",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 242.727,
    "s": 61.111,
    "l": 7.059
  },
  "oklch": {
    "l": 0.14665,
    "c": 0.04635,
    "h": 281.4
  },
  "luminance": 0.00292
}

Semantic roles & 50–950 ramp

primary
#08071D
secondary
#595B25
accent
#E444DD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08071D

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

Preview Lab → · Contrast checker → · Palette generator →

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