#17288D#17288D

#17288D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.166 H 267.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#17288D
RGBrgb(23, 40, 141)
HSLhsl(231, 72%, 32%)
HSVhsv(231, 84%, 55%)
CMYKcmyk(83.7%, 71.6%, 0%, 44.7%)
CIE-LABlab(22.38, 32.74, -57.24)
CIE-LCHlch(22.38, 65.94, 299.77°)
OKLaboklab(34.41% -0.0061 -0.1659)
OKLCHoklch(34.41% 0.166 267.9)
XYZxyz(5.9182, 3.6221, 25.5814)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17288D #8D7C17
analogous
#17638D #17288D #41178D
triadic
#17288D #8D1728 #288D17
tetradic
#17288D #8D1763 #8D7C17 #178D41
square
#17288D #8D1763 #8D7C17 #178D41
split-complementary
#17288D #8D4117 #638D17
monochromatic
#060A24 #0E1958 #17288D #2037C2 #3F56E0

Accessibility & contrast

On white

12.18
#17288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#17288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17288D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17288D#FFFFFF#000000##FFFFFF
##17288D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #17288d;
/* rgb */ color: rgb(23, 40, 141);
/* oklch */ color: oklch(34.4% 0.166 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c62af',
    500: '#17288d',
    950: '#000000',
  },
}
SCSS
$custom: #17288d;
$custom-light: #6c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#17288d",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 231.356,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.16597,
    "h": 267.9
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#17288D
secondary
#C0AD40
accent
#D539EF
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #17288D

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

Preview Lab → · Contrast checker → · Palette generator →

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