#08182A#08182A

#08182A is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.042 H 252.8°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#08182A
RGBrgb(8, 24, 42)
HSLhsl(212, 68%, 10%)
HSVhsv(212, 81%, 16%)
CMYKcmyk(81%, 42.9%, 0%, 83.5%)
CIE-LABlab(7.88, 0.64, -14.23)
CIE-LCHlch(7.88, 14.24, 272.59°)
OKLaboklab(20.58% -0.0125 -0.0403)
OKLCHoklch(20.58% 0.042 252.8)
XYZxyz(0.8445, 0.8720, 2.3138)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08182A #2A1A08
analogous
#08292A #08182A #09082A
triadic
#08182A #2A0818 #182A08
tetradic
#08182A #2A0829 #2A1A08 #082A09
square
#08182A #2A0829 #2A1A08 #082A09
split-complementary
#08182A #2A0908 #292A08
monochromatic
#050F1A #050F1A #08182A #12355D #1C5391

Accessibility & contrast

On white

17.88
#08182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08182A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08182A#FFFFFF#000000##FFFFFF
##08182A1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#0B162A
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08182a;
/* rgb */ color: rgb(8, 24, 42);
/* oklch */ color: oklch(20.6% 0.042 252.8);
Tailwind
colors: {
  custom: {
    50: '#4c5463',
    500: '#08182a',
    950: '#000000',
  },
}
SCSS
$custom: #08182a;
$custom-light: #4c5463;
$custom-dark: #000000;
JSON
{
  "hex": "#08182a",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 211.765,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20578,
    "c": 0.04224,
    "h": 252.8
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#08182A
secondary
#694925
accent
#993DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #08182A

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

Preview Lab → · Contrast checker → · Palette generator →

#08182A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva