#17216E#17216E

#17216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.132 H 270.1°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#17216E
RGBrgb(23, 33, 110)
HSLhsl(233, 65%, 26%)
HSVhsv(233, 79%, 43%)
CMYKcmyk(79.1%, 70%, 0%, 56.9%)
CIE-LABlab(17.44, 25.49, -45.68)
CIE-LCHlch(17.44, 52.31, 299.16°)
OKLaboklab(29.85% 0.0003 -0.1321)
OKLCHoklch(29.85% 0.132 270.1)
XYZxyz(3.7107, 2.3953, 15.0156)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17216E #6E6417
analogous
#174C6E #17216E #38176E
triadic
#17216E #6E1721 #216E17
tetradic
#17216E #6E174C #6E6417 #176E38
square
#17216E #6E174C #6E6417 #176E38
split-complementary
#17216E #6E3817 #4C6E17
monochromatic
#050819 #0C123B #17216E #2230A1 #2C40D3

Accessibility & contrast

On white

14.20
#17216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#17216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17216E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17216E#FFFFFF#000000##FFFFFF
##17216E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17216e;
/* rgb */ color: rgb(23, 33, 110);
/* oklch */ color: oklch(29.9% 0.132 270.1);
Tailwind
colors: {
  custom: {
    50: '#645c98',
    500: '#17216e',
    950: '#000000',
  },
}
SCSS
$custom: #17216e;
$custom-light: #645c98;
$custom-dark: #000000;
JSON
{
  "hex": "#17216e",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 233.103,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29852,
    "c": 0.13215,
    "h": 270.1
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#17216E
secondary
#A4983D
accent
#D53FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17216E

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

Preview Lab → · Contrast checker → · Palette generator →

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