#08111B#08111B

#08111B is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.4% C 0.025 H 251.5°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#08111B
RGBrgb(8, 17, 27)
HSLhsl(212, 54%, 7%)
HSVhsv(212, 70%, 11%)
CMYKcmyk(70.4%, 37%, 0%, 89.4%)
CIE-LABlab(4.80, -0.29, -7.54)
CIE-LCHlch(4.80, 7.55, 267.83°)
OKLaboklab(17.42% -0.0079 -0.0238)
OKLCHoklch(17.42% 0.025 251.5)
XYZxyz(0.4983, 0.5316, 1.1130)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08111B #1B1208
analogous
#081B1B #08111B #09081B
triadic
#08111B #1B0811 #111B08
tetradic
#08111B #1B081B #1B1208 #081B09
square
#08111B #1B081B #1B1208 #081B09
split-complementary
#08111B #1B0908 #1B1B08
monochromatic
#070F18 #070F18 #08111B #162F4A #244C79

Accessibility & contrast

On white

18.98
#08111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08111B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08111B
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08111B#FFFFFF#000000##FFFFFF
##08111B1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D111B
Deuteranopia (green-blind)
#0B0F1B
Tritanopia (blue-blind)
#021314
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08111b;
/* rgb */ color: rgb(8, 17, 27);
/* oklch */ color: oklch(17.4% 0.025 251.5);
Tailwind
colors: {
  custom: {
    50: '#4a4f57',
    500: '#08111b',
    950: '#000000',
  },
}
SCSS
$custom: #08111b;
$custom-light: #4a4f57;
$custom-dark: #000000;
JSON
{
  "hex": "#08111b",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 211.579,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17424,
    "c": 0.02507,
    "h": 251.5
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#08111B
secondary
#574127
accent
#984ADE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08111B

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

Preview Lab → · Contrast checker → · Palette generator →

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