#08182E#08182E

#08182E is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.9% C 0.049 H 256.8°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#08182E
RGBrgb(8, 24, 46)
HSLhsl(215, 70%, 11%)
HSVhsv(215, 83%, 18%)
CMYKcmyk(82.6%, 47.8%, 0%, 82%)
CIE-LABlab(8.15, 2.46, -16.76)
CIE-LCHlch(8.15, 16.94, 278.36°)
OKLaboklab(20.88% -0.0112 -0.0477)
OKLCHoklch(20.88% 0.049 256.8)
XYZxyz(0.9197, 0.9021, 2.7099)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08182E #2E1E08
analogous
#082B2E #08182E #0B082E
triadic
#08182E #2E0818 #182E08
tetradic
#08182E #2E082B #2E1E08 #082E0B
square
#08182E #2E082B #2E1E08 #082E0B
split-complementary
#08182E #2E0B08 #2B2E08
monochromatic
#050E1A #050E1A #08182E #113362 #1A4E96

Accessibility & contrast

On white

17.79
#08182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#08182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08182E
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08182E#FFFFFF#000000##FFFFFF
##08182E1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#08162E
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08182e;
/* rgb */ color: rgb(8, 24, 46);
/* oklch */ color: oklch(20.9% 0.049 256.8);
Tailwind
colors: {
  custom: {
    50: '#4d5467',
    500: '#08182e',
    950: '#000000',
  },
}
SCSS
$custom: #08182e;
$custom-light: #4d5467;
$custom-dark: #000000;
JSON
{
  "hex": "#08182e",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 214.737,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20879,
    "c": 0.04903,
    "h": 256.8
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#08182E
secondary
#6D4F25
accent
#A23BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08182E

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

Preview Lab → · Contrast checker → · Palette generator →

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