#08121D#08121D

#08121D is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.9% C 0.027 H 251.5°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#08121D
RGBrgb(8, 18, 29)
HSLhsl(211, 57%, 7%)
HSVhsv(211, 72%, 11%)
CMYKcmyk(72.4%, 37.9%, 0%, 88.6%)
CIE-LABlab(5.17, -0.26, -8.54)
CIE-LCHlch(5.17, 8.55, 268.24°)
OKLaboklab(17.86% -0.0087 -0.026)
OKLCHoklch(17.86% 0.027 251.5)
XYZxyz(0.5381, 0.5729, 1.2444)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08121D #1D1308
analogous
#081D1D #08121D #09081D
triadic
#08121D #1D0812 #121D08
tetradic
#08121D #1D081D #1D1308 #081D09
square
#08121D #1D081D #1D1308 #081D09
split-complementary
#08121D #1D0908 #1D1D08
monochromatic
#070F18 #070F18 #08121D #15304D #224E7D

Accessibility & contrast

On white

18.84
#08121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08121D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08121D
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08121D#FFFFFF#000000##FFFFFF
##08121D1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121D
Deuteranopia (green-blind)
#0B101D
Tritanopia (blue-blind)
#011516
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08121d;
/* rgb */ color: rgb(8, 18, 29);
/* oklch */ color: oklch(17.9% 0.027 251.5);
Tailwind
colors: {
  custom: {
    50: '#4a5058',
    500: '#08121d',
    950: '#000000',
  },
}
SCSS
$custom: #08121d;
$custom-light: #4a5058;
$custom-dark: #000000;
JSON
{
  "hex": "#08121d",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 211.429,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17864,
    "c": 0.02739,
    "h": 251.5
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#08121D
secondary
#5A4227
accent
#9848E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08121D

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

Preview Lab → · Contrast checker → · Palette generator →

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