#17208E#17208E

#17208E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.176 H 268.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#17208E
RGBrgb(23, 32, 142)
HSLhsl(235, 72%, 32%)
HSVhsv(235, 84%, 56%)
CMYKcmyk(83.8%, 77.5%, 0%, 44.3%)
CIE-LABlab(20.70, 38.09, -60.63)
CIE-LCHlch(20.70, 71.60, 302.14°)
OKLaboklab(33.24% -0.0033 -0.1757)
OKLCHoklch(33.24% 0.176 268.9)
XYZxyz(5.7507, 3.1675, 25.8942)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17208E #8E8517
analogous
#175C8E #17208E #49178E
triadic
#17208E #8E1720 #208E17
tetradic
#17208E #8E175C #8E8517 #178E49
square
#17208E #8E175C #8E8517 #178E49
split-complementary
#17208E #8E4917 #5C8E17
monochromatic
#060825 #0E1459 #17208E #202CC3 #3F4CE0

Accessibility & contrast

On white

12.86
#17208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17208E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17208E#FFFFFF#000000##FFFFFF
##17208E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17208e;
/* rgb */ color: rgb(23, 32, 142);
/* oklch */ color: oklch(33.2% 0.176 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d5db0',
    500: '#17208e',
    950: '#000000',
  },
}
SCSS
$custom: #17208e;
$custom-light: #6d5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#17208e",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 235.462,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.17571,
    "h": 268.9
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#17208E
secondary
#C0B740
accent
#E139EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #17208E

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

Preview Lab → · Contrast checker → · Palette generator →

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