#08181F#08181F

#08181F is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.9% C 0.026 H 228.4°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#08181F
RGBrgb(8, 24, 31)
HSLhsl(198, 59%, 8%)
HSVhsv(198, 74%, 12%)
CMYKcmyk(74.2%, 22.6%, 0%, 87.8%)
CIE-LABlab(7.26, -3.69, -6.92)
CIE-LCHlch(7.26, 7.84, 241.97°)
OKLaboklab(19.86% -0.0172 -0.0194)
OKLCHoklch(19.86% 0.026 228.4)
XYZxyz(0.6740, 0.8038, 1.4157)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08181F #1F0F08
analogous
#081F1A #08181F #080C1F
triadic
#08181F #1F0818 #181F08
tetradic
#08181F #1A081F #1F0F08 #0C1F08
square
#08181F #1A081F #1F0F08 #0C1F08
split-complementary
#08181F #1F080C #1F1A08
monochromatic
#061318 #061318 #08181F #153E50 #216380

Accessibility & contrast

On white

18.09
#08181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08181F
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08181F#FFFFFF#000000##FFFFFF
##08181F1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#11151F
Tritanopia (blue-blind)
#001A1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08181f;
/* rgb */ color: rgb(8, 24, 31);
/* oklch */ color: oklch(19.9% 0.026 228.4);
Tailwind
colors: {
  custom: {
    50: '#4a545a',
    500: '#08181f',
    950: '#000000',
  },
}
SCSS
$custom: #08181f;
$custom-light: #4a545a;
$custom-dark: #000000;
JSON
{
  "hex": "#08181f",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 198.261,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.19863,
    "c": 0.02592,
    "h": 228.4
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#08181F
secondary
#5C3726
accent
#7546E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08181F

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

Preview Lab → · Contrast checker → · Palette generator →

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