#08071E#08071E

#08071E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.8% C 0.048 H 281.0°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#08071E
RGBrgb(8, 7, 30)
HSLhsl(243, 62%, 7%)
HSVhsv(243, 77%, 12%)
CMYKcmyk(73.3%, 76.7%, 0%, 88.2%)
CIE-LABlab(2.69, 5.24, -13.07)
CIE-LCHlch(2.69, 14.08, 291.84°)
OKLaboklab(14.77% 0.0092 -0.0473)
OKLCHoklch(14.77% 0.048 281)
XYZxyz(0.4104, 0.2973, 1.2638)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071E #1D1E07
analogous
#07121E #08071E #14071E
triadic
#08071E #1E0807 #071E08
tetradic
#08071E #1E0712 #1D1E07 #071E14
square
#08071E #1E0712 #1D1E07 #071E14
split-complementary
#08071E #1E1407 #121E07
monochromatic
#070619 #070619 #08071E #151350 #221E81

Accessibility & contrast

On white

19.82
#08071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08071E
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071E#FFFFFF#000000##FFFFFF
##08071E1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08071e;
/* rgb */ color: rgb(8, 7, 30);
/* oklch */ color: oklch(14.8% 0.048 281.0);
Tailwind
colors: {
  custom: {
    50: '#4a4a59',
    500: '#08071e',
    950: '#000000',
  },
}
SCSS
$custom: #08071e;
$custom-light: #4a4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#08071e",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 242.609,
    "s": 62.162,
    "l": 7.255
  },
  "oklch": {
    "l": 0.14765,
    "c": 0.04821,
    "h": 281
  },
  "luminance": 0.00297
}

Semantic roles & 50–950 ramp

primary
#08071E
secondary
#5A5C24
accent
#E543DE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08071E

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

Preview Lab → · Contrast checker → · Palette generator →

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