#17215F#17215F

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

Color values

HEX#17215F
RGBrgb(23, 33, 95)
HSLhsl(232, 61%, 23%)
HSVhsv(232, 76%, 37%)
CMYKcmyk(75.8%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.98, 19.49, -38.21)
CIE-LCHlch(15.98, 42.90, 297.03°)
OKLaboklab(28.34% 0.0011 -0.1103)
OKLCHoklch(28.34% 0.11 270.6)
XYZxyz(2.9621, 2.0958, 11.0727)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17215F #5F5517
analogous
#17455F #17215F #31175F
triadic
#17215F #5F1721 #215F17
tetradic
#17215F #5F1745 #5F5517 #175F31
square
#17215F #5F1745 #5F5517 #175F31
split-complementary
#17215F #5F3117 #455F17
monochromatic
#060919 #0B102E #17215F #233290 #2F43C2

Accessibility & contrast

On white

14.80
#17215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17215F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17215F#FFFFFF#000000##FFFFFF
##17215F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17215f;
/* rgb */ color: rgb(23, 33, 95);
/* oklch */ color: oklch(28.3% 0.110 270.6);
Tailwind
colors: {
  custom: {
    50: '#605c8d',
    500: '#17215f',
    950: '#000000',
  },
}
SCSS
$custom: #17215f;
$custom-light: #605c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17215f",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 231.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.11029,
    "h": 270.6
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#17215F
secondary
#96893C
accent
#CE44E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #17215F

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

Preview Lab → · Contrast checker → · Palette generator →

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