#173A88#173A88

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

Color values

HEX#173A88
RGBrgb(23, 58, 136)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 53%)
CMYKcmyk(83.1%, 57.4%, 0%, 46.7%)
CIE-LABlab(26.69, 18.43, -47.07)
CIE-LCHlch(26.69, 50.55, 291.38°)
OKLaboklab(37.46% -0.0163 -0.1359)
OKLCHoklch(37.46% 0.137 263.2)
XYZxyz(6.3087, 4.9851, 23.9175)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A88 #886517
analogous
#177288 #173A88 #2C1788
triadic
#173A88 #88173A #3A8817
tetradic
#173A88 #881772 #886517 #17882C
square
#173A88 #881772 #886517 #17882C
split-complementary
#173A88 #882C17 #728817
monochromatic
#050D1F #0E2454 #173A88 #2050BC #3B6EDE

Accessibility & contrast

On white

10.51
#173A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A88
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A88#FFFFFF#000000##FFFFFF
##173A881.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173a88;
/* rgb */ color: rgb(23, 58, 136);
/* oklch */ color: oklch(37.5% 0.137 263.2);
Tailwind
colors: {
  custom: {
    50: '#696fab',
    500: '#173a88',
    950: '#000000',
  },
}
SCSS
$custom: #173a88;
$custom-light: #696fab;
$custom-dark: #000000;
JSON
{
  "hex": "#173a88",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 221.416,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.13686,
    "h": 263.2
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#173A88
secondary
#BC953F
accent
#B63AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173A88

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

Preview Lab → · Contrast checker → · Palette generator →

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