#08151B#08151B

#08151B is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.7% C 0.022 H 229.1°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#08151B
RGBrgb(8, 21, 27)
HSLhsl(199, 54%, 7%)
HSVhsv(199, 70%, 11%)
CMYKcmyk(70.4%, 22.2%, 0%, 89.4%)
CIE-LABlab(6.03, -2.78, -5.72)
CIE-LCHlch(6.03, 6.36, 244.09°)
OKLaboklab(18.68% -0.0145 -0.0168)
OKLCHoklch(18.68% 0.022 229.1)
XYZxyz(0.5661, 0.6670, 1.1356)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08151B #1B0E08
analogous
#081B18 #08151B #080C1B
triadic
#08151B #1B0815 #151B08
tetradic
#08151B #18081B #1B0E08 #0C1B08
square
#08151B #18081B #1B0E08 #0C1B08
split-complementary
#08151B #1B080C #1B1808
monochromatic
#071218 #071218 #08151B #163A4A #245E79

Accessibility & contrast

On white

18.53
#08151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#08151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08151B
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08151B#FFFFFF#000000##FFFFFF
##08151B1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12151B
Deuteranopia (green-blind)
#0F121B
Tritanopia (blue-blind)
#021717
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #08151b;
/* rgb */ color: rgb(8, 21, 27);
/* oklch */ color: oklch(18.7% 0.022 229.1);
Tailwind
colors: {
  custom: {
    50: '#4a5257',
    500: '#08151b',
    950: '#000000',
  },
}
SCSS
$custom: #08151b;
$custom-light: #4a5257;
$custom-dark: #000000;
JSON
{
  "hex": "#08151b",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 198.947,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.18681,
    "c": 0.02218,
    "h": 229.1
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#08151B
secondary
#573727
accent
#794ADE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08151B

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

Preview Lab → · Contrast checker → · Palette generator →

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