#17215D#17215D

#17215D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.107 H 270.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#17215D
RGBrgb(23, 33, 93)
HSLhsl(231, 60%, 23%)
HSVhsv(231, 75%, 36%)
CMYKcmyk(75.3%, 64.5%, 0%, 63.5%)
CIE-LABlab(15.80, 18.68, -37.18)
CIE-LCHlch(15.80, 41.61, 296.67°)
OKLaboklab(28.14% 0.0012 -0.1073)
OKLCHoklch(28.14% 0.107 270.6)
XYZxyz(2.8723, 2.0599, 10.6000)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17215D #5D5317
analogous
#17445D #17215D #30175D
triadic
#17215D #5D1721 #215D17
tetradic
#17215D #5D1744 #5D5317 #175D30
square
#17215D #5D1744 #5D5317 #175D30
split-complementary
#17215D #5D3017 #445D17
monochromatic
#060919 #0B102C #17215D #23328E #2F44BF

Accessibility & contrast

On white

14.87
#17215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17215D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17215D#FFFFFF#000000##FFFFFF
##17215D1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17215d;
/* rgb */ color: rgb(23, 33, 93);
/* oklch */ color: oklch(28.1% 0.107 270.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c8b',
    500: '#17215d',
    950: '#000000',
  },
}
SCSS
$custom: #17215d;
$custom-light: #5f5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17215d",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 231.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28142,
    "c": 0.10727,
    "h": 270.6
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17215D

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

Preview Lab → · Contrast checker → · Palette generator →

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