#08151D#08151D

#08151D is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.8% C 0.025 H 236.8°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#08151D
RGBrgb(8, 21, 29)
HSLhsl(203, 57%, 7%)
HSVhsv(203, 72%, 11%)
CMYKcmyk(72.4%, 27.6%, 0%, 88.6%)
CIE-LABlab(6.11, -2.17, -7.13)
CIE-LCHlch(6.11, 7.46, 253.05°)
OKLaboklab(18.8% -0.0135 -0.0207)
OKLCHoklch(18.8% 0.025 236.8)
XYZxyz(0.5900, 0.6766, 1.2617)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08151D #1D1008
analogous
#081D1B #08151D #080B1D
triadic
#08151D #1D0815 #151D08
tetradic
#08151D #1B081D #1D1008 #0B1D08
square
#08151D #1B081D #1D1008 #0B1D08
split-complementary
#08151D #1D080B #1D1B08
monochromatic
#071118 #071118 #08151D #15384D #225A7D

Accessibility & contrast

On white

18.50
#08151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#08151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08151D
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08151D#FFFFFF#000000##FFFFFF
##08151D1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151D
Deuteranopia (green-blind)
#0E131D
Tritanopia (blue-blind)
#011718
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08151d;
/* rgb */ color: rgb(8, 21, 29);
/* oklch */ color: oklch(18.8% 0.025 236.8);
Tailwind
colors: {
  custom: {
    50: '#4a5258',
    500: '#08151d',
    950: '#000000',
  },
}
SCSS
$custom: #08151d;
$custom-light: #4a5258;
$custom-dark: #000000;
JSON
{
  "hex": "#08151d",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 202.857,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18798,
    "c": 0.02472,
    "h": 236.8
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#08151D
secondary
#5A3A27
accent
#8248E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08151D

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

Preview Lab → · Contrast checker → · Palette generator →

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