#17216A#17216A

#17216A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.126 H 270.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#17216A
RGBrgb(23, 33, 106)
HSLhsl(233, 64%, 25%)
HSVhsv(233, 78%, 42%)
CMYKcmyk(78.3%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.04, 23.91, -43.73)
CIE-LCHlch(17.04, 49.84, 298.67°)
OKLaboklab(29.44% 0.0006 -0.1265)
OKLCHoklch(29.44% 0.126 270.3)
XYZxyz(3.4978, 2.3101, 13.8944)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17216A #6A6017
analogous
#174A6A #17216A #36176A
triadic
#17216A #6A1721 #216A17
tetradic
#17216A #6A174A #6A6017 #176A36
square
#17216A #6A174A #6A6017 #176A36
split-complementary
#17216A #6A3617 #4A6A17
monochromatic
#050819 #0C1138 #17216A #22319C #2D40CF

Accessibility & contrast

On white

14.36
#17216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17216A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17216A#FFFFFF#000000##FFFFFF
##17216A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17216a;
/* rgb */ color: rgb(23, 33, 106);
/* oklch */ color: oklch(29.4% 0.126 270.3);
Tailwind
colors: {
  custom: {
    50: '#635c95',
    500: '#17216a',
    950: '#000000',
  },
}
SCSS
$custom: #17216a;
$custom-light: #635c95;
$custom-dark: #000000;
JSON
{
  "hex": "#17216a",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 232.771,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29437,
    "c": 0.12646,
    "h": 270.3
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#17216A
secondary
#A0943D
accent
#D340E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #17216A

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

Preview Lab → · Contrast checker → · Palette generator →

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