#08181C#08181C

#08181C is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.023 H 215.8°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#08181C
RGBrgb(8, 24, 28)
HSLhsl(192, 56%, 7%)
HSVhsv(192, 71%, 11%)
CMYKcmyk(71.4%, 14.3%, 0%, 89%)
CIE-LABlab(7.12, -4.64, -4.85)
CIE-LCHlch(7.12, 6.71, 226.24°)
OKLaboklab(19.7% -0.0188 -0.0136)
OKLCHoklch(19.7% 0.023 215.8)
XYZxyz(0.6363, 0.7887, 1.2171)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08181C #1C0C08
analogous
#081C16 #08181C #080E1C
triadic
#08181C #1C0818 #181C08
tetradic
#08181C #16081C #1C0C08 #0E1C08
square
#08181C #16081C #1C0C08 #0E1C08
split-complementary
#08181C #1C080E #1C1608
monochromatic
#071418 #071418 #08181C #16414C #236A7B

Accessibility & contrast

On white

18.14
#08181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#08181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08181C
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08181C#FFFFFF#000000##FFFFFF
##08181C1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171C
Deuteranopia (green-blind)
#12151C
Tritanopia (blue-blind)
#011A19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08181c;
/* rgb */ color: rgb(8, 24, 28);
/* oklch */ color: oklch(19.7% 0.023 215.8);
Tailwind
colors: {
  custom: {
    50: '#4a5458',
    500: '#08181c',
    950: '#000000',
  },
}
SCSS
$custom: #08181c;
$custom-light: #4a5458;
$custom-dark: #000000;
JSON
{
  "hex": "#08181c",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 192,
    "s": 55.556,
    "l": 7.059
  },
  "oklch": {
    "l": 0.19698,
    "c": 0.02318,
    "h": 215.8
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#08181C
secondary
#593127
accent
#6749DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08181C

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

Preview Lab → · Contrast checker → · Palette generator →

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