#172190#172190

#172190 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.177 H 268.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#172190
RGBrgb(23, 33, 144)
HSLhsl(235, 72%, 33%)
HSVhsv(235, 84%, 56%)
CMYKcmyk(84%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.14, 38.21, -61.15)
CIE-LCHlch(21.14, 72.10, 302.00°)
OKLaboklab(33.62% -0.004 -0.1772)
OKLCHoklch(33.62% 0.177 268.7)
XYZxyz(5.9295, 3.2828, 26.7013)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172190 #908617
analogous
#175E90 #172190 #491790
triadic
#172190 #901721 #219017
tetradic
#172190 #90175E #908617 #179049
square
#172190 #90175E #908617 #179049
split-complementary
#172190 #904917 #5E9017
monochromatic
#060926 #0F155B #172190 #1F2DC5 #414EE1

Accessibility & contrast

On white

12.68
#172190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172190
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172190#FFFFFF#000000##FFFFFF
##1721901.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #172190;
/* rgb */ color: rgb(23, 33, 144);
/* oklch */ color: oklch(33.6% 0.177 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d5eb2',
    500: '#172190',
    950: '#000000',
  },
}
SCSS
$custom: #172190;
$custom-light: #6d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#172190",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 235.041,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.17723,
    "h": 268.7
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#172190
secondary
#C1B742
accent
#E039EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #172190

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

Preview Lab → · Contrast checker → · Palette generator →

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