#08172A#08172A

#08172A is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.3% C 0.044 H 255.1°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#08172A
RGBrgb(8, 23, 42)
HSLhsl(214, 68%, 10%)
HSVhsv(214, 81%, 16%)
CMYKcmyk(81%, 45.2%, 0%, 83.5%)
CIE-LABlab(7.51, 1.39, -14.81)
CIE-LCHlch(7.51, 14.87, 275.37°)
OKLaboklab(20.29% -0.0112 -0.0421)
OKLCHoklch(20.29% 0.044 255.1)
XYZxyz(0.8243, 0.8315, 2.3071)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08172A #2A1B08
analogous
#08282A #08172A #0A082A
triadic
#08172A #2A0817 #172A08
tetradic
#08172A #2A0828 #2A1B08 #082A0A
square
#08172A #2A0828 #2A1B08 #082A0A
split-complementary
#08172A #2A0A08 #282A08
monochromatic
#050E1A #050E1A #08172A #12335D #1C4F91

Accessibility & contrast

On white

18.00
#08172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08172A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08172A#FFFFFF#000000##FFFFFF
##08172A1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#0A152A
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08172a;
/* rgb */ color: rgb(8, 23, 42);
/* oklch */ color: oklch(20.3% 0.044 255.1);
Tailwind
colors: {
  custom: {
    50: '#4c5363',
    500: '#08172a',
    950: '#000000',
  },
}
SCSS
$custom: #08172a;
$custom-light: #4c5363;
$custom-dark: #000000;
JSON
{
  "hex": "#08172a",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 213.529,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20285,
    "c": 0.04355,
    "h": 255.1
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#08172A
secondary
#694B25
accent
#9E3DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #08172A

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

Preview Lab → · Contrast checker → · Palette generator →

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