#17217D#17217D

#17217D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.153 H 269.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#17217D
RGBrgb(23, 33, 125)
HSLhsl(234, 69%, 29%)
HSVhsv(234, 82%, 49%)
CMYKcmyk(81.6%, 73.6%, 0%, 51%)
CIE-LABlab(19.01, 31.26, -52.72)
CIE-LCHlch(19.01, 61.29, 300.66°)
OKLaboklab(31.47% -0.0013 -0.1527)
OKLCHoklch(31.47% 0.153 269.5)
XYZxyz(4.5976, 2.7500, 19.6866)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17217D #7D7317
analogous
#17547D #17217D #40177D
triadic
#17217D #7D1721 #217D17
tetradic
#17217D #7D1754 #7D7317 #177D40
square
#17217D #7D1754 #7D7317 #177D40
split-complementary
#17217D #7D4017 #547D17
monochromatic
#05071A #0D1349 #17217D #212FB1 #3545DA

Accessibility & contrast

On white

13.55
#17217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#17217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17217D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17217D#FFFFFF#000000##FFFFFF
##17217D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17217d;
/* rgb */ color: rgb(23, 33, 125);
/* oklch */ color: oklch(31.5% 0.153 269.5);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#17217d',
    950: '#000000',
  },
}
SCSS
$custom: #17217d;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#17217d",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 234.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.15272,
    "h": 269.5
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#17217D
secondary
#B2A63E
accent
#DB3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17217D

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

Preview Lab → · Contrast checker → · Palette generator →

#17217D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva