#17216F#17216F

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

Color values

HEX#17216F
RGBrgb(23, 33, 111)
HSLhsl(233, 66%, 26%)
HSVhsv(233, 79%, 44%)
CMYKcmyk(79.3%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.54, 25.88, -46.16)
CIE-LCHlch(17.54, 52.92, 299.28°)
OKLaboklab(29.96% 0.0002 -0.1336)
OKLCHoklch(29.96% 0.134 270.1)
XYZxyz(3.7655, 2.4172, 15.3040)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17216F #6F6517
analogous
#174D6F #17216F #39176F
triadic
#17216F #6F1721 #216F17
tetradic
#17216F #6F174D #6F6517 #176F39
square
#17216F #6F174D #6F6517 #176F39
split-complementary
#17216F #6F3917 #4D6F17
monochromatic
#050819 #0C123C #17216F #2230A2 #2D40D3

Accessibility & contrast

On white

14.15
#17216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17216F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17216F#FFFFFF#000000##FFFFFF
##17216F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17216f;
/* rgb */ color: rgb(23, 33, 111);
/* oklch */ color: oklch(30.0% 0.134 270.1);
Tailwind
colors: {
  custom: {
    50: '#645c99',
    500: '#17216f',
    950: '#000000',
  },
}
SCSS
$custom: #17216f;
$custom-light: #645c99;
$custom-dark: #000000;
JSON
{
  "hex": "#17216f",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 233.182,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.13356,
    "h": 270.1
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#17216F
secondary
#A5993D
accent
#D53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #17216F

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

Preview Lab → · Contrast checker → · Palette generator →

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