#08171D#08171D

#08171D is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.4% C 0.024 H 225.9°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#08171D
RGBrgb(8, 23, 29)
HSLhsl(197, 57%, 7%)
HSVhsv(197, 72%, 11%)
CMYKcmyk(72.4%, 20.7%, 0%, 88.6%)
CIE-LABlab(6.80, -3.59, -6.09)
CIE-LCHlch(6.80, 7.07, 239.51°)
OKLaboklab(19.43% -0.0167 -0.0172)
OKLCHoklch(19.43% 0.024 225.9)
XYZxyz(0.6282, 0.7531, 1.2744)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08171D #1D0E08
analogous
#081D19 #08171D #080D1D
triadic
#08171D #1D0817 #171D08
tetradic
#08171D #19081D #1D0E08 #0D1D08
square
#08171D #19081D #1D0E08 #0D1D08
split-complementary
#08171D #1D080D #1D1908
monochromatic
#071318 #071318 #08171D #153D4D #22637D

Accessibility & contrast

On white

18.25
#08171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08171D
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08171D#FFFFFF#000000##FFFFFF
##08171D1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14161D
Deuteranopia (green-blind)
#11141D
Tritanopia (blue-blind)
#011919
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08171d;
/* rgb */ color: rgb(8, 23, 29);
/* oklch */ color: oklch(19.4% 0.024 225.9);
Tailwind
colors: {
  custom: {
    50: '#4a5358',
    500: '#08171d',
    950: '#000000',
  },
}
SCSS
$custom: #08171d;
$custom-light: #4a5358;
$custom-dark: #000000;
JSON
{
  "hex": "#08171d",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 197.143,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.19432,
    "c": 0.02397,
    "h": 225.9
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#08171D
secondary
#5A3527
accent
#7348E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08171D

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

Preview Lab → · Contrast checker → · Palette generator →

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