#173E89#173E89

#173E89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.133 H 261.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#173E89
RGBrgb(23, 62, 137)
HSLhsl(219, 71%, 31%)
HSVhsv(219, 83%, 54%)
CMYKcmyk(83.2%, 54.7%, 0%, 46.3%)
CIE-LABlab(27.93, 16.04, -45.67)
CIE-LCHlch(27.93, 48.41, 289.35°)
OKLaboklab(38.42% -0.0191 -0.1317)
OKLCHoklch(38.42% 0.133 261.8)
XYZxyz(6.5897, 5.4328, 24.3634)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E89 #896217
analogous
#177789 #173E89 #291789
triadic
#173E89 #89173E #3E8917
tetradic
#173E89 #891777 #896217 #178929
square
#173E89 #891777 #896217 #178929
split-complementary
#173E89 #892917 #778917
monochromatic
#050F20 #0E2655 #173E89 #2056BD #3C74DE

Accessibility & contrast

On white

10.06
#173E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#173E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E89
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E89#FFFFFF#000000##FFFFFF
##173E891.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478C
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173e89;
/* rgb */ color: rgb(23, 62, 137);
/* oklch */ color: oklch(38.4% 0.133 261.8);
Tailwind
colors: {
  custom: {
    50: '#6972ac',
    500: '#173e89',
    950: '#000000',
  },
}
SCSS
$custom: #173e89;
$custom-light: #6972ac;
$custom-dark: #000000;
JSON
{
  "hex": "#173e89",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 219.474,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.13308,
    "h": 261.8
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#173E89
secondary
#BD923F
accent
#B03AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173E89

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

Preview Lab → · Contrast checker → · Palette generator →

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