#08071B#08071B

#08071B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.5% C 0.043 H 282.3°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#08071B
RGBrgb(8, 7, 27)
HSLhsl(243, 59%, 7%)
HSVhsv(243, 74%, 11%)
CMYKcmyk(70.4%, 74.1%, 0%, 89.4%)
CIE-LABlab(2.55, 4.31, -10.87)
CIE-LCHlch(2.55, 11.69, 291.62°)
OKLaboklab(14.47% 0.0091 -0.0416)
OKLCHoklch(14.47% 0.043 282.3)
XYZxyz(0.3739, 0.2827, 1.0716)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071B #1A1B07
analogous
#07101B #08071B #12071B
triadic
#08071B #1B0807 #071B08
tetradic
#08071B #1B0710 #1A1B07 #071B12
square
#08071B #1B0710 #1A1B07 #071B12
split-complementary
#08071B #1B1207 #101B07
monochromatic
#070618 #070618 #08071B #16144C #25207C

Accessibility & contrast

On white

19.88
#08071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08071B
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071B#FFFFFF#000000##FFFFFF
##08071B1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1C
Deuteranopia (green-blind)
#01091B
Tritanopia (blue-blind)
#030B0F
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08071b;
/* rgb */ color: rgb(8, 7, 27);
/* oklch */ color: oklch(14.5% 0.043 282.3);
Tailwind
colors: {
  custom: {
    50: '#4a4a57',
    500: '#08071b',
    950: '#000000',
  },
}
SCSS
$custom: #08071b;
$custom-light: #4a4a57;
$custom-dark: #000000;
JSON
{
  "hex": "#08071b",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 243,
    "s": 58.824,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1447,
    "c": 0.04258,
    "h": 282.3
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

primary
#08071B
secondary
#565925
accent
#E246DA
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08071B

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

Preview Lab → · Contrast checker → · Palette generator →

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