#172590#172590

#172590 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.173 H 268.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#172590
RGBrgb(23, 37, 144)
HSLhsl(233, 72%, 33%)
HSVhsv(233, 84%, 56%)
CMYKcmyk(84%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.01, 35.77, -59.71)
CIE-LCHlch(22.01, 69.61, 300.92°)
OKLaboklab(34.24% -0.0053 -0.173)
OKLCHoklch(34.24% 0.173 268.2)
XYZxyz(6.0472, 3.5182, 26.7405)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172590 #908217
analogous
#176190 #172590 #461790
triadic
#172590 #901725 #259017
tetradic
#172590 #901761 #908217 #179046
square
#172590 #901761 #908217 #179046
split-complementary
#172590 #904617 #619017
monochromatic
#060A26 #0F175B #172590 #1F33C5 #4153E1

Accessibility & contrast

On white

12.33
#172590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#172590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172590
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172590#FFFFFF#000000##FFFFFF
##1725901.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #172590;
/* rgb */ color: rgb(23, 37, 144);
/* oklch */ color: oklch(34.2% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d60b2',
    500: '#172590',
    950: '#000000',
  },
}
SCSS
$custom: #172590;
$custom-light: #6d60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#172590",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 233.058,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.17313,
    "h": 268.2
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#172590
secondary
#C1B242
accent
#DA39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #172590

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

Preview Lab → · Contrast checker → · Palette generator →

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