#08182B#08182B

#08182B is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.044 H 253.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#08182B
RGBrgb(8, 24, 43)
HSLhsl(213, 69%, 10%)
HSVhsv(213, 81%, 17%)
CMYKcmyk(81.4%, 44.2%, 0%, 83.1%)
CIE-LABlab(7.94, 1.10, -14.87)
CIE-LCHlch(7.94, 14.91, 274.24°)
OKLaboklab(20.65% -0.0122 -0.0422)
OKLCHoklch(20.65% 0.044 253.9)
XYZxyz(0.8627, 0.8792, 2.4093)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08182B #2B1B08
analogous
#082A2B #08182B #09082B
triadic
#08182B #2B0818 #182B08
tetradic
#08182B #2B082A #2B1B08 #082B09
square
#08182B #2B082A #2B1B08 #082B09
split-complementary
#08182B #2B0908 #2A2B08
monochromatic
#050E1A #050E1A #08182B #12355F #1B5292

Accessibility & contrast

On white

17.86
#08182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08182B
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08182B#FFFFFF#000000##FFFFFF
##08182B1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08182b;
/* rgb */ color: rgb(8, 24, 43);
/* oklch */ color: oklch(20.7% 0.044 253.9);
Tailwind
colors: {
  custom: {
    50: '#4c5464',
    500: '#08182b',
    950: '#000000',
  },
}
SCSS
$custom: #08182b;
$custom-light: #4c5464;
$custom-dark: #000000;
JSON
{
  "hex": "#08182b",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 212.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.20651,
    "c": 0.04392,
    "h": 253.9
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#08182B
secondary
#6A4A25
accent
#9B3CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08182B

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

Preview Lab → · Contrast checker → · Palette generator →

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