#172090#172090

#172090 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.178 H 268.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#172090
RGBrgb(23, 32, 144)
HSLhsl(236, 72%, 33%)
HSVhsv(236, 84%, 56%)
CMYKcmyk(84%, 77.8%, 0%, 43.5%)
CIE-LABlab(20.94, 38.80, -61.49)
CIE-LCHlch(20.94, 72.71, 302.25°)
OKLaboklab(33.47% -0.0037 -0.1782)
OKLCHoklch(33.47% 0.178 268.8)
XYZxyz(5.9022, 3.2281, 26.6922)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172090 #908717
analogous
#175D90 #172090 #4A1790
triadic
#172090 #901720 #209017
tetradic
#172090 #90175D #908717 #17904A
square
#172090 #90175D #908717 #17904A
split-complementary
#172090 #904A17 #5D9017
monochromatic
#060926 #0F145B #172090 #1F2CC5 #414DE1

Accessibility & contrast

On white

12.76
#172090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#172090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172090
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172090#FFFFFF#000000##FFFFFF
##1720901.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172090;
/* rgb */ color: rgb(23, 32, 144);
/* oklch */ color: oklch(33.5% 0.178 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d5db2',
    500: '#172090',
    950: '#000000',
  },
}
SCSS
$custom: #172090;
$custom-light: #6d5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#172090",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 235.537,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33473,
    "c": 0.17821,
    "h": 268.8
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#172090
secondary
#C1B842
accent
#E239EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #172090

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

Preview Lab → · Contrast checker → · Palette generator →

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