#17217C#17217C

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

Color values

HEX#17217C
RGBrgb(23, 33, 124)
HSLhsl(234, 69%, 29%)
HSVhsv(234, 81%, 49%)
CMYKcmyk(81.5%, 73.4%, 0%, 51.4%)
CIE-LABlab(18.91, 30.88, -52.27)
CIE-LCHlch(18.91, 60.71, 300.58°)
OKLaboklab(31.36% -0.0012 -0.1514)
OKLCHoklch(31.36% 0.151 269.6)
XYZxyz(4.5340, 2.7246, 19.3518)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17217C #7C7217
analogous
#17547C #17217C #40177C
triadic
#17217C #7C1721 #217C17
tetradic
#17217C #7C1754 #7C7217 #177C40
square
#17217C #7C1754 #7C7217 #177C40
split-complementary
#17217C #7C4017 #547C17
monochromatic
#05071A #0D1348 #17217C #212FB0 #3444D9

Accessibility & contrast

On white

13.59
#17217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17217C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17217C#FFFFFF#000000##FFFFFF
##17217C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17217c;
/* rgb */ color: rgb(23, 33, 124);
/* oklch */ color: oklch(31.4% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#685da3',
    500: '#17217c',
    950: '#000000',
  },
}
SCSS
$custom: #17217c;
$custom-light: #685da3;
$custom-dark: #000000;
JSON
{
  "hex": "#17217c",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 234.059,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31358,
    "c": 0.15138,
    "h": 269.6
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#17217C
secondary
#B1A53E
accent
#DA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #17217C

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

Preview Lab → · Contrast checker → · Palette generator →

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