#173B89#173B89

#173B89 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.137 H 262.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#173B89
RGBrgb(23, 59, 137)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 54%)
CMYKcmyk(83.2%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.06, 18.14, -47.09)
CIE-LCHlch(27.06, 50.46, 291.06°)
OKLaboklab(37.76% -0.0169 -0.1359)
OKLCHoklch(37.76% 0.137 262.9)
XYZxyz(6.4311, 5.1155, 24.3105)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B89 #896517
analogous
#177489 #173B89 #2C1789
triadic
#173B89 #89173B #3B8917
tetradic
#173B89 #891774 #896517 #17892C
square
#173B89 #891774 #896517 #17892C
split-complementary
#173B89 #892C17 #748917
monochromatic
#050E20 #0E2455 #173B89 #2052BD #3C6FDE

Accessibility & contrast

On white

10.38
#173B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#173B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B89
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B89#FFFFFF#000000##FFFFFF
##173B891.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173b89;
/* rgb */ color: rgb(23, 59, 137);
/* oklch */ color: oklch(37.8% 0.137 262.9);
Tailwind
colors: {
  custom: {
    50: '#6970ac',
    500: '#173b89',
    950: '#000000',
  },
}
SCSS
$custom: #173b89;
$custom-light: #6970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#173b89",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 221.053,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.13698,
    "h": 262.9
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#173B89
secondary
#BD953F
accent
#B53AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173B89

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

Preview Lab → · Contrast checker → · Palette generator →

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