#08172B#08172B

#08172B is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.4% C 0.045 H 256.1°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#08172B
RGBrgb(8, 23, 43)
HSLhsl(214, 69%, 10%)
HSVhsv(214, 81%, 17%)
CMYKcmyk(81.4%, 46.5%, 0%, 83.1%)
CIE-LABlab(7.58, 1.85, -15.45)
CIE-LCHlch(7.58, 15.56, 276.83°)
OKLaboklab(20.36% -0.0109 -0.044)
OKLCHoklch(20.36% 0.045 256.1)
XYZxyz(0.8424, 0.8388, 2.4025)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08172B #2B1C08
analogous
#08282B #08172B #0B082B
triadic
#08172B #2B0817 #172B08
tetradic
#08172B #2B0828 #2B1C08 #082B0B
square
#08172B #2B0828 #2B1C08 #082B0B
split-complementary
#08172B #2B0B08 #282B08
monochromatic
#050E1A #050E1A #08172B #12335F #1B4E92

Accessibility & contrast

On white

17.98
#08172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08172B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08172B#FFFFFF#000000##FFFFFF
##08172B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182C
Deuteranopia (green-blind)
#09152B
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08172b;
/* rgb */ color: rgb(8, 23, 43);
/* oklch */ color: oklch(20.4% 0.045 256.1);
Tailwind
colors: {
  custom: {
    50: '#4c5364',
    500: '#08172b',
    950: '#000000',
  },
}
SCSS
$custom: #08172b;
$custom-light: #4c5364;
$custom-dark: #000000;
JSON
{
  "hex": "#08172b",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 214.286,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.2036,
    "c": 0.04527,
    "h": 256.1
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#08172B
secondary
#6A4C25
accent
#A03CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08172B

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

Preview Lab → · Contrast checker → · Palette generator →

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