#172589#172589

#172589 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.164 H 268.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#172589
RGBrgb(23, 37, 137)
HSLhsl(233, 71%, 31%)
HSVhsv(233, 83%, 54%)
CMYKcmyk(83.2%, 73%, 0%, 46.3%)
CIE-LABlab(21.25, 33.18, -56.61)
CIE-LCHlch(21.25, 65.62, 300.38°)
OKLaboklab(33.46% -0.0045 -0.164)
OKLCHoklch(33.46% 0.164 268.4)
XYZxyz(5.5287, 3.3108, 24.0097)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172589 #897B17
analogous
#175E89 #172589 #421789
triadic
#172589 #891725 #258917
tetradic
#172589 #89175E #897B17 #178942
square
#172589 #89175E #897B17 #178942
split-complementary
#172589 #894217 #5E8917
monochromatic
#050920 #0E1755 #172589 #2033BD #3C50DE

Accessibility & contrast

On white

12.63
#172589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#172589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172589
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172589#FFFFFF#000000##FFFFFF
##1725891.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #172589;
/* rgb */ color: rgb(23, 37, 137);
/* oklch */ color: oklch(33.5% 0.164 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b60ad',
    500: '#172589',
    950: '#000000',
  },
}
SCSS
$custom: #172589;
$custom-light: #6b60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#172589",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 232.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33464,
    "c": 0.16409,
    "h": 268.4
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#172589
secondary
#BDAD3F
accent
#D83AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #172589

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

Preview Lab → · Contrast checker → · Palette generator →

#172589 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva