#17217F#17217F

#17217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.155 H 269.4°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#17217F
RGBrgb(23, 33, 127)
HSLhsl(234, 69%, 29%)
HSVhsv(234, 82%, 50%)
CMYKcmyk(81.9%, 74%, 0%, 50.2%)
CIE-LABlab(19.23, 32.01, -53.64)
CIE-LCHlch(19.23, 62.46, 300.83°)
OKLaboklab(31.69% -0.0015 -0.1554)
OKLCHoklch(31.69% 0.155 269.4)
XYZxyz(4.7267, 2.8016, 20.3662)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17217F #7F7517
analogous
#17557F #17217F #41177F
triadic
#17217F #7F1721 #217F17
tetradic
#17217F #7F1755 #7F7517 #177F41
square
#17217F #7F1755 #7F7517 #177F41
split-complementary
#17217F #7F4117 #557F17
monochromatic
#05071A #0E144B #17217F #202EB3 #3646DB

Accessibility & contrast

On white

13.46
#17217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17217F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17217F#FFFFFF#000000##FFFFFF
##17217F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17217f;
/* rgb */ color: rgb(23, 33, 127);
/* oklch */ color: oklch(31.7% 0.155 269.4);
Tailwind
colors: {
  custom: {
    50: '#695da5',
    500: '#17217f',
    950: '#000000',
  },
}
SCSS
$custom: #17217f;
$custom-light: #695da5;
$custom-dark: #000000;
JSON
{
  "hex": "#17217f",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 234.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3169,
    "c": 0.15537,
    "h": 269.4
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17217F

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

Preview Lab → · Contrast checker → · Palette generator →

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