#08151F#08151F

#08151F is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.9% C 0.028 H 242.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#08151F
RGBrgb(8, 21, 31)
HSLhsl(206, 59%, 8%)
HSVhsv(206, 74%, 12%)
CMYKcmyk(74.2%, 32.3%, 0%, 87.8%)
CIE-LABlab(6.20, -1.53, -8.53)
CIE-LCHlch(6.20, 8.67, 259.85°)
OKLaboklab(18.92% -0.0126 -0.0246)
OKLCHoklch(18.92% 0.028 242.9)
XYZxyz(0.6155, 0.6868, 1.3962)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08151F #1F1208
analogous
#081F1D #08151F #08091F
triadic
#08151F #1F0815 #151F08
tetradic
#08151F #1D081F #1F1208 #091F08
square
#08151F #1D081F #1F1208 #091F08
split-complementary
#08151F #1F0809 #1F1D08
monochromatic
#061018 #061018 #08151F #153650 #215780

Accessibility & contrast

On white

18.46
#08151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08151F
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08151F#FFFFFF#000000##FFFFFF
##08151F1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151F
Deuteranopia (green-blind)
#0E131F
Tritanopia (blue-blind)
#001718
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08151f;
/* rgb */ color: rgb(8, 21, 31);
/* oklch */ color: oklch(18.9% 0.028 242.9);
Tailwind
colors: {
  custom: {
    50: '#4a525a',
    500: '#08151f',
    950: '#000000',
  },
}
SCSS
$custom: #08151f;
$custom-light: #4a525a;
$custom-dark: #000000;
JSON
{
  "hex": "#08151f",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 206.087,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18922,
    "c": 0.02764,
    "h": 242.9
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#08151F
secondary
#5C3E26
accent
#8A46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08151F

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

Preview Lab → · Contrast checker → · Palette generator →

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