#17207E#17207E

#17207E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.155 H 269.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#17207E
RGBrgb(23, 32, 126)
HSLhsl(235, 69%, 29%)
HSVhsv(235, 82%, 49%)
CMYKcmyk(81.7%, 74.6%, 0%, 50.6%)
CIE-LABlab(18.89, 32.28, -53.56)
CIE-LCHlch(18.89, 62.54, 301.07°)
OKLaboklab(31.41% -0.001 -0.1551)
OKLCHoklch(31.41% 0.155 269.6)
XYZxyz(4.6345, 2.7210, 20.0156)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17207E #7E7517
analogous
#17547E #17207E #42177E
triadic
#17207E #7E1720 #207E17
tetradic
#17207E #7E1754 #7E7517 #177E42
square
#17207E #7E1754 #7E7517 #177E42
split-complementary
#17207E #7E4217 #547E17
monochromatic
#05071A #0E134A #17207E #202DB2 #3544DA

Accessibility & contrast

On white

13.60
#17207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17207E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17207E#FFFFFF#000000##FFFFFF
##17207E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17207e;
/* rgb */ color: rgb(23, 32, 126);
/* oklch */ color: oklch(31.4% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#685ca4',
    500: '#17207e',
    950: '#000000',
  },
}
SCSS
$custom: #17207e;
$custom-light: #685ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#17207e",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 234.757,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31412,
    "c": 0.15515,
    "h": 269.6
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#17207E
secondary
#B3A83E
accent
#DD3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17207E

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

Preview Lab → · Contrast checker → · Palette generator →

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