#17208F#17208F

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

Color values

HEX#17208F
RGBrgb(23, 32, 143)
HSLhsl(236, 72%, 33%)
HSVhsv(236, 84%, 56%)
CMYKcmyk(83.9%, 77.6%, 0%, 43.9%)
CIE-LABlab(20.82, 38.44, -61.06)
CIE-LCHlch(20.82, 72.15, 302.19°)
OKLaboklab(33.36% -0.0035 -0.1769)
OKLCHoklch(33.36% 0.177 268.9)
XYZxyz(5.8261, 3.1977, 26.2914)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17208F #8F8617
analogous
#175C8F #17208F #4A178F
triadic
#17208F #8F1720 #208F17
tetradic
#17208F #8F175C #8F8617 #178F4A
square
#17208F #8F175C #8F8617 #178F4A
split-complementary
#17208F #8F4A17 #5C8F17
monochromatic
#060826 #0F145A #17208F #1F2CC4 #404CE0

Accessibility & contrast

On white

12.81
#17208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#17208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17208F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17208F#FFFFFF#000000##FFFFFF
##17208F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17208f;
/* rgb */ color: rgb(23, 32, 143);
/* oklch */ color: oklch(33.4% 0.177 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d5db1',
    500: '#17208f',
    950: '#000000',
  },
}
SCSS
$custom: #17208f;
$custom-light: #6d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#17208f",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 235.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.17696,
    "h": 268.9
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17208F

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

Preview Lab → · Contrast checker → · Palette generator →

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