#173A89#173A89

#173A89 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.138 H 263.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#173A89
RGBrgb(23, 58, 137)
HSLhsl(222, 71%, 31%)
HSVhsv(222, 83%, 54%)
CMYKcmyk(83.2%, 57.7%, 0%, 46.3%)
CIE-LABlab(26.77, 18.84, -47.56)
CIE-LCHlch(26.77, 51.15, 291.61°)
OKLaboklab(37.55% -0.0162 -0.1373)
OKLCHoklch(37.55% 0.138 263.3)
XYZxyz(6.3801, 5.0136, 24.2935)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A89 #896617
analogous
#177389 #173A89 #2D1789
triadic
#173A89 #89173A #3A8917
tetradic
#173A89 #891773 #896617 #17892D
square
#173A89 #891773 #896617 #17892D
split-complementary
#173A89 #892D17 #738917
monochromatic
#050E20 #0E2455 #173A89 #2050BD #3C6EDE

Accessibility & contrast

On white

10.49
#173A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#173A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A89
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A89#FFFFFF#000000##FFFFFF
##173A891.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173a89;
/* rgb */ color: rgb(23, 58, 137);
/* oklch */ color: oklch(37.5% 0.138 263.3);
Tailwind
colors: {
  custom: {
    50: '#696fac',
    500: '#173a89',
    950: '#000000',
  },
}
SCSS
$custom: #173a89;
$custom-light: #696fac;
$custom-dark: #000000;
JSON
{
  "hex": "#173a89",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 221.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37545,
    "c": 0.13828,
    "h": 263.3
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#173A89
secondary
#BD963F
accent
#B73AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173A89

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

Preview Lab → · Contrast checker → · Palette generator →

#173A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva