#08182C#08182C

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

Color values

HEX#08182C
RGBrgb(8, 24, 44)
HSLhsl(213, 69%, 10%)
HSVhsv(213, 82%, 17%)
CMYKcmyk(81.8%, 45.5%, 0%, 82.7%)
CIE-LABlab(8.01, 1.55, -15.50)
CIE-LCHlch(8.01, 15.58, 275.71°)
OKLaboklab(20.73% -0.0118 -0.044)
OKLCHoklch(20.73% 0.046 255)
XYZxyz(0.8812, 0.8867, 2.5071)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08182C #2C1C08
analogous
#082A2C #08182C #0A082C
triadic
#08182C #2C0818 #182C08
tetradic
#08182C #2C082A #2C1C08 #082C0A
square
#08182C #2C082A #2C1C08 #082C0A
split-complementary
#08182C #2C0A08 #2A2C08
monochromatic
#050E1A #050E1A #08182C #113460 #1B5094

Accessibility & contrast

On white

17.84
#08182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08182C
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08182C#FFFFFF#000000##FFFFFF
##08182C1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#0A162C
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #08182c;
/* rgb */ color: rgb(8, 24, 44);
/* oklch */ color: oklch(20.7% 0.046 255.0);
Tailwind
colors: {
  custom: {
    50: '#4c5465',
    500: '#08182c',
    950: '#000000',
  },
}
SCSS
$custom: #08182c;
$custom-light: #4c5465;
$custom-dark: #000000;
JSON
{
  "hex": "#08182c",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 213.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20726,
    "c": 0.04561,
    "h": 255
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#08182C
secondary
#6B4C25
accent
#9E3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08182C

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

Preview Lab → · Contrast checker → · Palette generator →

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