#17215A#17215A

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

Color values

HEX#17215A
RGBrgb(23, 33, 90)
HSLhsl(231, 59%, 22%)
HSVhsv(231, 74%, 35%)
CMYKcmyk(74.4%, 63.3%, 0%, 64.7%)
CIE-LABlab(15.53, 17.45, -35.62)
CIE-LCHlch(15.53, 39.66, 296.10°)
OKLaboklab(27.86% 0.0012 -0.1027)
OKLCHoklch(27.86% 0.103 270.6)
XYZxyz(2.7420, 2.0078, 9.9139)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17215A #5A5017
analogous
#17435A #17215A #2F175A
triadic
#17215A #5A1721 #215A17
tetradic
#17215A #5A1743 #5A5017 #175A2F
square
#17215A #5A1743 #5A5017 #175A2F
split-complementary
#17215A #5A2F17 #435A17
monochromatic
#060918 #0B0F29 #17215A #23338B #3045BB

Accessibility & contrast

On white

14.98
#17215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17215A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17215A#FFFFFF#000000##FFFFFF
##17215A1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17215a;
/* rgb */ color: rgb(23, 33, 90);
/* oklch */ color: oklch(27.9% 0.103 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e5c89',
    500: '#17215a',
    950: '#000000',
  },
}
SCSS
$custom: #17215a;
$custom-light: #5e5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#17215a",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 231.045,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27856,
    "c": 0.10267,
    "h": 270.6
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#17215A
secondary
#91843C
accent
#CB45E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #17215A

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

Preview Lab → · Contrast checker → · Palette generator →

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