#08141B#08141B

#08141B is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.023 H 235.1°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#08141B
RGBrgb(8, 20, 27)
HSLhsl(202, 54%, 7%)
HSVhsv(202, 70%, 11%)
CMYKcmyk(70.4%, 25.9%, 0%, 89.4%)
CIE-LABlab(5.70, -2.12, -6.21)
CIE-LCHlch(5.70, 6.56, 251.18°)
OKLaboklab(18.36% -0.0129 -0.0185)
OKLCHoklch(18.36% 0.023 235.1)
XYZxyz(0.5481, 0.6310, 1.1296)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08141B #1B0F08
analogous
#081B19 #08141B #080B1B
triadic
#08141B #1B0814 #141B08
tetradic
#08141B #19081B #1B0F08 #0B1B08
square
#08141B #19081B #1B0F08 #0B1B08
split-complementary
#08141B #1B080B #1B1908
monochromatic
#071118 #071118 #08141B #16374A #245A79

Accessibility & contrast

On white

18.65
#08141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08141B
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08141B#FFFFFF#000000##FFFFFF
##08141B1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11141B
Deuteranopia (green-blind)
#0E121B
Tritanopia (blue-blind)
#021616
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #08141b;
/* rgb */ color: rgb(8, 20, 27);
/* oklch */ color: oklch(18.4% 0.023 235.1);
Tailwind
colors: {
  custom: {
    50: '#4a5157',
    500: '#08141b',
    950: '#000000',
  },
}
SCSS
$custom: #08141b;
$custom-light: #4a5157;
$custom-dark: #000000;
JSON
{
  "hex": "#08141b",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 202.105,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.18364,
    "c": 0.02256,
    "h": 235.1
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#08141B
secondary
#573927
accent
#804ADE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878

Preview Lab

Preview with #08141B

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

Preview Lab → · Contrast checker → · Palette generator →

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