#17216D#17216D

#17216D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.131 H 270.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#17216D
RGBrgb(23, 33, 109)
HSLhsl(233, 65%, 26%)
HSVhsv(233, 79%, 43%)
CMYKcmyk(78.9%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.34, 25.10, -45.19)
CIE-LCHlch(17.34, 51.69, 299.04°)
OKLaboklab(29.75% 0.0004 -0.1307)
OKLCHoklch(29.75% 0.131 270.2)
XYZxyz(3.6566, 2.3736, 14.7305)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17216D #6D6317
analogous
#174C6D #17216D #38176D
triadic
#17216D #6D1721 #216D17
tetradic
#17216D #6D174C #6D6317 #176D38
square
#17216D #6D174C #6D6317 #176D38
split-complementary
#17216D #6D3817 #4C6D17
monochromatic
#050819 #0C123A #17216D #2230A0 #2C40D2

Accessibility & contrast

On white

14.24
#17216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17216D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17216D#FFFFFF#000000##FFFFFF
##17216D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17216d;
/* rgb */ color: rgb(23, 33, 109);
/* oklch */ color: oklch(29.7% 0.131 270.2);
Tailwind
colors: {
  custom: {
    50: '#635c98',
    500: '#17216d',
    950: '#000000',
  },
}
SCSS
$custom: #17216d;
$custom-light: #635c98;
$custom-dark: #000000;
JSON
{
  "hex": "#17216d",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 233.023,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.13074,
    "h": 270.2
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#17216D
secondary
#A3973D
accent
#D540E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17216D

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

Preview Lab → · Contrast checker → · Palette generator →

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