#17216B#17216B

#17216B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.128 H 270.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#17216B
RGBrgb(23, 33, 107)
HSLhsl(233, 65%, 25%)
HSVhsv(233, 79%, 42%)
CMYKcmyk(78.5%, 69.2%, 0%, 58%)
CIE-LABlab(17.14, 24.31, -44.22)
CIE-LCHlch(17.14, 50.46, 298.80°)
OKLaboklab(29.54% 0.0006 -0.1279)
OKLCHoklch(29.54% 0.128 270.2)
XYZxyz(3.5501, 2.3310, 14.1699)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17216B #6B6117
analogous
#174B6B #17216B #37176B
triadic
#17216B #6B1721 #216B17
tetradic
#17216B #6B174B #6B6117 #176B37
square
#17216B #6B174B #6B6117 #176B37
split-complementary
#17216B #6B3717 #4B6B17
monochromatic
#050819 #0C1139 #17216B #22319D #2D40D0

Accessibility & contrast

On white

14.32
#17216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#17216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17216B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17216B#FFFFFF#000000##FFFFFF
##17216B1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17216b;
/* rgb */ color: rgb(23, 33, 107);
/* oklch */ color: oklch(29.5% 0.128 270.2);
Tailwind
colors: {
  custom: {
    50: '#635c96',
    500: '#17216b',
    950: '#000000',
  },
}
SCSS
$custom: #17216b;
$custom-light: #635c96;
$custom-dark: #000000;
JSON
{
  "hex": "#17216b",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 232.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2954,
    "c": 0.12789,
    "h": 270.2
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#17216B
secondary
#A1953D
accent
#D440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17216B

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

Preview Lab → · Contrast checker → · Palette generator →

#17216B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva