#17217A#17217A

#17217A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.149 H 269.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#17217A
RGBrgb(23, 33, 122)
HSLhsl(234, 68%, 28%)
HSVhsv(234, 81%, 48%)
CMYKcmyk(81.1%, 73%, 0%, 52.2%)
CIE-LABlab(18.69, 30.13, -51.35)
CIE-LCHlch(18.69, 59.53, 300.40°)
OKLaboklab(31.14% -0.0009 -0.1487)
OKLCHoklch(31.14% 0.149 269.6)
XYZxyz(4.4089, 2.6745, 18.6925)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17217A #7A7017
analogous
#17527A #17217A #3E177A
triadic
#17217A #7A1721 #217A17
tetradic
#17217A #7A1752 #7A7017 #177A3E
square
#17217A #7A1752 #7A7017 #177A3E
split-complementary
#17217A #7A3E17 #527A17
monochromatic
#05071A #0D1347 #17217A #212FAD #3344D9

Accessibility & contrast

On white

13.68
#17217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17217A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17217A#FFFFFF#000000##FFFFFF
##17217A1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17217a;
/* rgb */ color: rgb(23, 33, 122);
/* oklch */ color: oklch(31.1% 0.149 269.6);
Tailwind
colors: {
  custom: {
    50: '#675ca1',
    500: '#17217a',
    950: '#000000',
  },
}
SCSS
$custom: #17217a;
$custom-light: #675ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#17217a",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 233.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31139,
    "c": 0.14869,
    "h": 269.6
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#17217A
secondary
#AFA43E
accent
#DA3DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17217A

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

Preview Lab → · Contrast checker → · Palette generator →

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