#08121E#08121E

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

Color values

HEX#08121E
RGBrgb(8, 18, 30)
HSLhsl(213, 58%, 7%)
HSVhsv(213, 73%, 12%)
CMYKcmyk(73.3%, 40%, 0%, 88.2%)
CIE-LABlab(5.22, 0.06, -9.25)
CIE-LCHlch(5.22, 9.25, 270.36°)
OKLaboklab(17.93% -0.0083 -0.0279)
OKLCHoklch(17.93% 0.029 253.5)
XYZxyz(0.5507, 0.5779, 1.3106)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08121E #1E1408
analogous
#081D1E #08121E #09081E
triadic
#08121E #1E0812 #121E08
tetradic
#08121E #1E081D #1E1408 #081E09
square
#08121E #1E081D #1E1408 #081E09
split-complementary
#08121E #1E0908 #1D1E08
monochromatic
#060E18 #060E18 #08121E #152F4E #224C7F

Accessibility & contrast

On white

18.82
#08121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#08121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08121E
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08121E#FFFFFF#000000##FFFFFF
##08121E1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08121e;
/* rgb */ color: rgb(8, 18, 30);
/* oklch */ color: oklch(17.9% 0.029 253.5);
Tailwind
colors: {
  custom: {
    50: '#4a5059',
    500: '#08121e',
    950: '#000000',
  },
}
SCSS
$custom: #08121e;
$custom-light: #4a5059;
$custom-dark: #000000;
JSON
{
  "hex": "#08121e",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17932,
    "c": 0.02915,
    "h": 253.5
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#08121E
secondary
#5B4327
accent
#9B47E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08121E

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

Preview Lab → · Contrast checker → · Palette generator →

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