#17204A#17204A

#17204A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.079 H 271.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#17204A
RGBrgb(23, 32, 74)
HSLhsl(229, 53%, 19%)
HSVhsv(229, 69%, 29%)
CMYKcmyk(68.9%, 56.8%, 0%, 71%)
CIE-LABlab(13.88, 11.62, -27.42)
CIE-LCHlch(13.88, 29.79, 292.97°)
OKLaboklab(26.2% 0.0013 -0.0786)
OKLCHoklch(26.2% 0.079 271)
XYZxyz(2.1055, 1.7094, 6.6962)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17204A #4A4117
analogous
#173A4A #17204A #28174A
triadic
#17204A #4A1720 #204A17
tetradic
#17204A #4A173A #4A4117 #174A28
square
#17204A #4A173A #4A4117 #174A28
split-complementary
#17204A #4A2817 #3A4A17
monochromatic
#070A17 #080C1B #17204A #263479 #3448A7

Accessibility & contrast

On white

15.65
#17204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#17204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17204A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17204A#FFFFFF#000000##FFFFFF
##17204A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264B
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17204a;
/* rgb */ color: rgb(23, 32, 74);
/* oklch */ color: oklch(26.2% 0.079 271.0);
Tailwind
colors: {
  custom: {
    50: '#5a5b7d',
    500: '#17204a',
    950: '#000000',
  },
}
SCSS
$custom: #17204a;
$custom-light: #5a5b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17204a",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 229.412,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.07859,
    "h": 271
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#17204A
secondary
#81753C
accent
#C34CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #17204A

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

Preview Lab → · Contrast checker → · Palette generator →

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