#17205D#17205D

#17205D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.109 H 271.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#17205D
RGBrgb(23, 32, 93)
HSLhsl(232, 60%, 23%)
HSVhsv(232, 75%, 36%)
CMYKcmyk(75.3%, 65.6%, 0%, 63.5%)
CIE-LABlab(15.51, 19.41, -37.64)
CIE-LCHlch(15.51, 42.35, 297.27°)
OKLaboklab(27.93% 0.002 -0.1086)
OKLCHoklch(27.93% 0.109 271.1)
XYZxyz(2.8450, 2.0052, 10.5909)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17205D #5D5417
analogous
#17435D #17205D #31175D
triadic
#17205D #5D1720 #205D17
tetradic
#17205D #5D1743 #5D5417 #175D31
square
#17205D #5D1743 #5D5417 #175D31
split-complementary
#17205D #5D3117 #435D17
monochromatic
#060819 #0B0F2C #17205D #23318E #2F42BF

Accessibility & contrast

On white

14.99
#17205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17205D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17205D#FFFFFF#000000##FFFFFF
##17205D1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17205d;
/* rgb */ color: rgb(23, 32, 93);
/* oklch */ color: oklch(27.9% 0.109 271.1);
Tailwind
colors: {
  custom: {
    50: '#5f5b8b',
    500: '#17205d',
    950: '#000000',
  },
}
SCSS
$custom: #17205d;
$custom-light: #5f5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#17205d",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 232.286,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27932,
    "c": 0.10865,
    "h": 271.1
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#17205D
secondary
#94893C
accent
#CF44E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #17205D

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

Preview Lab → · Contrast checker → · Palette generator →

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