#17215C#17215C

#17215C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.106 H 270.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#17215C
RGBrgb(23, 33, 92)
HSLhsl(231, 60%, 23%)
HSVhsv(231, 75%, 36%)
CMYKcmyk(75%, 64.1%, 0%, 63.9%)
CIE-LABlab(15.71, 18.27, -36.66)
CIE-LCHlch(15.71, 40.96, 296.49°)
OKLaboklab(28.05% 0.0012 -0.1057)
OKLCHoklch(28.05% 0.106 270.6)
XYZxyz(2.8283, 2.0423, 10.3683)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17215C #5C5217
analogous
#17445C #17215C #2F175C
triadic
#17215C #5C1721 #215C17
tetradic
#17215C #5C1744 #5C5217 #175C2F
square
#17215C #5C1744 #5C5217 #175C2F
split-complementary
#17215C #5C2F17 #445C17
monochromatic
#060918 #0B0F2B #17215C #23338D #2F44BE

Accessibility & contrast

On white

14.91
#17215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17215C
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17215C#FFFFFF#000000##FFFFFF
##17215C1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17215c;
/* rgb */ color: rgb(23, 33, 92);
/* oklch */ color: oklch(28.0% 0.106 270.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c8b',
    500: '#17215c',
    950: '#000000',
  },
}
SCSS
$custom: #17215c;
$custom-light: #5f5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17215c",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 231.304,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.10574,
    "h": 270.6
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#17215C
secondary
#93863C
accent
#CC45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17215C

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

Preview Lab → · Contrast checker → · Palette generator →

#17215C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva