#08071C#08071C

#08071C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.6% C 0.044 H 281.9°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#08071C
RGBrgb(8, 7, 28)
HSLhsl(243, 60%, 7%)
HSVhsv(243, 75%, 11%)
CMYKcmyk(71.4%, 75%, 0%, 89%)
CIE-LABlab(2.60, 4.61, -11.61)
CIE-LCHlch(2.60, 12.49, 291.66°)
OKLaboklab(14.57% 0.0091 -0.0435)
OKLCHoklch(14.57% 0.044 281.9)
XYZxyz(0.3857, 0.2874, 1.1335)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08071C #1B1C07
analogous
#07111C #08071C #13071C
triadic
#08071C #1C0807 #071C08
tetradic
#08071C #1C0711 #1B1C07 #071C13
square
#08071C #1C0711 #1B1C07 #071C13
split-complementary
#08071C #1C1307 #111C07
monochromatic
#070618 #070618 #08071C #16134D #241F7E

Accessibility & contrast

On white

19.86
#08071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08071C
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08071C#FFFFFF#000000##FFFFFF
##08071C1.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1D
Deuteranopia (green-blind)
#00091C
Tritanopia (blue-blind)
#030B10
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08071c;
/* rgb */ color: rgb(8, 7, 28);
/* oklch */ color: oklch(14.6% 0.044 281.9);
Tailwind
colors: {
  custom: {
    50: '#4a4a58',
    500: '#08071c',
    950: '#000000',
  },
}
SCSS
$custom: #08071c;
$custom-light: #4a4a58;
$custom-dark: #000000;
JSON
{
  "hex": "#08071c",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 242.857,
    "s": 60,
    "l": 6.863
  },
  "oklch": {
    "l": 0.14567,
    "c": 0.04448,
    "h": 281.9
  },
  "luminance": 0.00287
}

Semantic roles & 50–950 ramp

primary
#08071C
secondary
#575A25
accent
#E345DC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08071C

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

Preview Lab → · Contrast checker → · Palette generator →

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