#08071F#08071F

#08071F is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.9% C 0.050 H 280.6°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#08071F
RGBrgb(8, 7, 31)
HSLhsl(243, 63%, 7%)
HSVhsv(243, 77%, 12%)
CMYKcmyk(74.2%, 77.4%, 0%, 87.8%)
CIE-LABlab(2.73, 5.57, -13.79)
CIE-LCHlch(2.73, 14.87, 291.99°)
OKLaboklab(14.87% 0.0092 -0.0492)
OKLCHoklch(14.87% 0.05 280.6)
XYZxyz(0.4234, 0.3025, 1.3321)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071F #1E1F07
analogous
#07121F #08071F #14071F
triadic
#08071F #1F0807 #071F08
tetradic
#08071F #1F0712 #1E1F07 #071F14
square
#08071F #1F0712 #1E1F07 #071F14
split-complementary
#08071F #1F1407 #121F07
monochromatic
#060619 #060619 #08071F #151251 #221E83

Accessibility & contrast

On white

19.80
#08071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08071F
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071F#FFFFFF#000000##FFFFFF
##08071F1.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#00091E
Tritanopia (blue-blind)
#010C11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08071f;
/* rgb */ color: rgb(8, 7, 31);
/* oklch */ color: oklch(14.9% 0.050 280.6);
Tailwind
colors: {
  custom: {
    50: '#4a4a5a',
    500: '#08071f',
    950: '#000000',
  },
}
SCSS
$custom: #08071f;
$custom-light: #4a4a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08071f",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 242.5,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.14868,
    "c": 0.05004,
    "h": 280.6
  },
  "luminance": 0.00303
}

Semantic roles & 50–950 ramp

primary
#08071F
secondary
#5B5E24
accent
#E642DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #08071F

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

Preview Lab → · Contrast checker → · Palette generator →

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