#173E88#173E88

#173E88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.132 H 261.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#173E88
RGBrgb(23, 62, 136)
HSLhsl(219, 71%, 31%)
HSVhsv(219, 83%, 53%)
CMYKcmyk(83.1%, 54.4%, 0%, 46.7%)
CIE-LABlab(27.86, 15.62, -45.18)
CIE-LCHlch(27.86, 47.80, 289.08°)
OKLaboklab(38.34% -0.0192 -0.1302)
OKLCHoklch(38.34% 0.132 261.6)
XYZxyz(6.5183, 5.4042, 23.9873)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E88 #886117
analogous
#177688 #173E88 #281788
triadic
#173E88 #88173E #3E8817
tetradic
#173E88 #881776 #886117 #178828
square
#173E88 #881776 #886117 #178828
split-complementary
#173E88 #882817 #768817
monochromatic
#050E1F #0E2654 #173E88 #2056BC #3B74DE

Accessibility & contrast

On white

10.09
#173E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#173E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E88
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E88#FFFFFF#000000##FFFFFF
##173E881.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173e88;
/* rgb */ color: rgb(23, 62, 136);
/* oklch */ color: oklch(38.3% 0.132 261.6);
Tailwind
colors: {
  custom: {
    50: '#6872ab',
    500: '#173e88',
    950: '#000000',
  },
}
SCSS
$custom: #173e88;
$custom-light: #6872ab;
$custom-dark: #000000;
JSON
{
  "hex": "#173e88",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 219.292,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.13165,
    "h": 261.6
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173E88

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

Preview Lab → · Contrast checker → · Palette generator →

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