#08161F#08161F

#08161F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.2% C 0.027 H 238.3°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#08161F
RGBrgb(8, 22, 31)
HSLhsl(203, 59%, 8%)
HSVhsv(203, 74%, 12%)
CMYKcmyk(74.2%, 29%, 0%, 87.8%)
CIE-LABlab(6.54, -2.22, -8.01)
CIE-LCHlch(6.54, 8.32, 254.54°)
OKLaboklab(19.23% -0.0141 -0.0228)
OKLCHoklch(19.23% 0.027 238.3)
XYZxyz(0.6343, 0.7243, 1.4024)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08161F #1F1108
analogous
#081F1C #08161F #080B1F
triadic
#08161F #1F0816 #161F08
tetradic
#08161F #1C081F #1F1108 #0B1F08
square
#08161F #1C081F #1F1108 #0B1F08
split-complementary
#08161F #1F080B #1F1C08
monochromatic
#061118 #061118 #08161F #153950 #215B80

Accessibility & contrast

On white

18.34
#08161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#08161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08161F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08161F#FFFFFF#000000##FFFFFF
##08161F1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12161F
Deuteranopia (green-blind)
#0F131F
Tritanopia (blue-blind)
#001819
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08161f;
/* rgb */ color: rgb(8, 22, 31);
/* oklch */ color: oklch(19.2% 0.027 238.3);
Tailwind
colors: {
  custom: {
    50: '#4a525a',
    500: '#08161f',
    950: '#000000',
  },
}
SCSS
$custom: #08161f;
$custom-light: #4a525a;
$custom-dark: #000000;
JSON
{
  "hex": "#08161f",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 203.478,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.19233,
    "c": 0.02687,
    "h": 238.3
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#08161F
secondary
#5C3C26
accent
#8346E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08161F

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

Preview Lab → · Contrast checker → · Palette generator →

#08161F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva