#172089#172089

#172089 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.169 H 269.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#172089
RGBrgb(23, 32, 137)
HSLhsl(235, 71%, 31%)
HSVhsv(235, 83%, 54%)
CMYKcmyk(83.2%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.13, 36.30, -58.46)
CIE-LCHlch(20.13, 68.82, 301.84°)
OKLaboklab(32.66% -0.0026 -0.1694)
OKLCHoklch(32.66% 0.169 269.1)
XYZxyz(5.3837, 3.0207, 23.9614)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172089 #898017
analogous
#175989 #172089 #471789
triadic
#172089 #891720 #208917
tetradic
#172089 #891759 #898017 #178947
square
#172089 #891759 #898017 #178947
split-complementary
#172089 #894717 #598917
monochromatic
#050820 #0E1455 #172089 #202CBD #3C49DE

Accessibility & contrast

On white

13.09
#172089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#172089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172089
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172089#FFFFFF#000000##FFFFFF
##1720891.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172089;
/* rgb */ color: rgb(23, 32, 137);
/* oklch */ color: oklch(32.7% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#6b5dad',
    500: '#172089',
    950: '#000000',
  },
}
SCSS
$custom: #172089;
$custom-light: #6b5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#172089",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 235.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32662,
    "c": 0.16941,
    "h": 269.1
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#172089
secondary
#BDB33F
accent
#E03AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #172089

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

Preview Lab → · Contrast checker → · Palette generator →

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