#08171E#08171E

#08171E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.5% C 0.025 H 229.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#08171E
RGBrgb(8, 23, 30)
HSLhsl(199, 58%, 7%)
HSVhsv(199, 73%, 12%)
CMYKcmyk(73.3%, 23.3%, 0%, 88.2%)
CIE-LABlab(6.85, -3.27, -6.79)
CIE-LCHlch(6.85, 7.53, 244.30°)
OKLaboklab(19.49% -0.0162 -0.0192)
OKLCHoklch(19.49% 0.025 229.9)
XYZxyz(0.6408, 0.7581, 1.3406)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08171E #1E0F08
analogous
#081E1A #08171E #080C1E
triadic
#08171E #1E0817 #171E08
tetradic
#08171E #1A081E #1E0F08 #0C1E08
square
#08171E #1A081E #1E0F08 #0C1E08
split-complementary
#08171E #1E080C #1E1A08
monochromatic
#061318 #061318 #08171E #153C4E #22617F

Accessibility & contrast

On white

18.24
#08171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08171E
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08171E#FFFFFF#000000##FFFFFF
##08171E1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13171E
Deuteranopia (green-blind)
#10141E
Tritanopia (blue-blind)
#001919
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08171e;
/* rgb */ color: rgb(8, 23, 30);
/* oklch */ color: oklch(19.5% 0.025 229.9);
Tailwind
colors: {
  custom: {
    50: '#4a5359',
    500: '#08171e',
    950: '#000000',
  },
}
SCSS
$custom: #08171e;
$custom-light: #4a5359;
$custom-dark: #000000;
JSON
{
  "hex": "#08171e",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 199.091,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.19489,
    "c": 0.02508,
    "h": 229.9
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#08171E
secondary
#5B3727
accent
#7847E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08171E

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

Preview Lab → · Contrast checker → · Palette generator →

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