#17205F#17205F

#17205F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.112 H 271.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#17205F
RGBrgb(23, 32, 95)
HSLhsl(233, 61%, 23%)
HSVhsv(233, 76%, 37%)
CMYKcmyk(75.8%, 66.3%, 0%, 62.7%)
CIE-LABlab(15.70, 20.22, -38.67)
CIE-LCHlch(15.70, 43.63, 297.60°)
OKLaboklab(28.13% 0.002 -0.1116)
OKLCHoklch(28.13% 0.112 271)
XYZxyz(2.9347, 2.0411, 11.0636)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17205F #5F5617
analogous
#17445F #17205F #32175F
triadic
#17205F #5F1720 #205F17
tetradic
#17205F #5F1744 #5F5617 #175F32
square
#17205F #5F1744 #5F5617 #175F32
split-complementary
#17205F #5F3217 #445F17
monochromatic
#060819 #0B0F2E #17205F #233190 #2F41C2

Accessibility & contrast

On white

14.91
#17205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17205F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17205F#FFFFFF#000000##FFFFFF
##17205F1.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)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17205f;
/* rgb */ color: rgb(23, 32, 95);
/* oklch */ color: oklch(28.1% 0.112 271.0);
Tailwind
colors: {
  custom: {
    50: '#605b8d',
    500: '#17205f',
    950: '#000000',
  },
}
SCSS
$custom: #17205f;
$custom-light: #605b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#17205f",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 232.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.11166,
    "h": 271
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#17205F
secondary
#968B3C
accent
#D044E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #17205F

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

Preview Lab → · Contrast checker → · Palette generator →

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