#08071A#08071A

#08071A is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.4% C 0.041 H 282.8°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#08071A
RGBrgb(8, 7, 26)
HSLhsl(243, 58%, 6%)
HSVhsv(243, 73%, 10%)
CMYKcmyk(69.2%, 73.1%, 0%, 89.8%)
CIE-LABlab(2.51, 4.02, -10.13)
CIE-LCHlch(2.51, 10.90, 291.66°)
OKLaboklab(14.38% 0.009 -0.0397)
OKLCHoklch(14.38% 0.041 282.8)
XYZxyz(0.3625, 0.2781, 1.0117)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071A #191A07
analogous
#07101A #08071A #12071A
triadic
#08071A #1A0807 #071A08
tetradic
#08071A #1A0710 #191A07 #071A12
square
#08071A #1A0710 #191A07 #071A12
split-complementary
#08071A #1A1207 #101A07
monochromatic
#070618 #070618 #08071A #17144A #26217A

Accessibility & contrast

On white

19.89
#08071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08071A
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071A#FFFFFF#000000##FFFFFF
##08071A1.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020A1B
Deuteranopia (green-blind)
#01091A
Tritanopia (blue-blind)
#030B0F
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08071a;
/* rgb */ color: rgb(8, 7, 26);
/* oklch */ color: oklch(14.4% 0.041 282.8);
Tailwind
colors: {
  custom: {
    50: '#4a4a56',
    500: '#08071a',
    950: '#000000',
  },
}
SCSS
$custom: #08071a;
$custom-light: #4a4a56;
$custom-dark: #000000;
JSON
{
  "hex": "#08071a",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 243.158,
    "s": 57.576,
    "l": 6.471
  },
  "oklch": {
    "l": 0.14376,
    "c": 0.04067,
    "h": 282.8
  },
  "luminance": 0.00278
}

Semantic roles & 50–950 ramp

primary
#08071A
secondary
#555825
accent
#E147D9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08071A

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

Preview Lab → · Contrast checker → · Palette generator →

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