#17204F#17204F

#17204F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.087 H 271.2°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#17204F
RGBrgb(23, 32, 79)
HSLhsl(230, 55%, 20%)
HSVhsv(230, 71%, 31%)
CMYKcmyk(70.9%, 59.5%, 0%, 69%)
CIE-LABlab(14.28, 13.68, -30.20)
CIE-LCHlch(14.28, 33.15, 294.37°)
OKLaboklab(26.63% 0.0018 -0.0867)
OKLCHoklch(26.63% 0.087 271.2)
XYZxyz(2.2807, 1.7795, 7.6189)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17204F #4F4617
analogous
#173C4F #17204F #2A174F
triadic
#17204F #4F1720 #204F17
tetradic
#17204F #4F173C #4F4617 #174F2A
square
#17204F #4F173C #4F4617 #174F2A
split-complementary
#17204F #4F2A17 #3C4F17
monochromatic
#070A18 #090D20 #17204F #25337E #3346AE

Accessibility & contrast

On white

15.49
#17204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17204F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17204F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17204F#FFFFFF#000000##FFFFFF
##17204F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17204f;
/* rgb */ color: rgb(23, 32, 79);
/* oklch */ color: oklch(26.6% 0.087 271.2);
Tailwind
colors: {
  custom: {
    50: '#5c5b81',
    500: '#17204f',
    950: '#000000',
  },
}
SCSS
$custom: #17204f;
$custom-light: #5c5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#17204f",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 230.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.26629,
    "c": 0.08677,
    "h": 271.2
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#17204F
secondary
#867A3C
accent
#C64ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #17204F

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

Preview Lab → · Contrast checker → · Palette generator →

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