#173B88#173B88

#173B88 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.136 H 262.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#173B88
RGBrgb(23, 59, 136)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 53%)
CMYKcmyk(83.1%, 56.6%, 0%, 46.7%)
CIE-LABlab(26.98, 17.73, -46.60)
CIE-LCHlch(26.98, 49.86, 290.83°)
OKLaboklab(37.68% -0.017 -0.1345)
OKLCHoklch(37.68% 0.136 262.8)
XYZxyz(6.3597, 5.0869, 23.9345)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B88 #886417
analogous
#177388 #173B88 #2B1788
triadic
#173B88 #88173B #3B8817
tetradic
#173B88 #881773 #886417 #17882B
square
#173B88 #881773 #886417 #17882B
split-complementary
#173B88 #882B17 #738817
monochromatic
#050E1F #0E2454 #173B88 #2052BC #3B6FDE

Accessibility & contrast

On white

10.41
#173B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B88
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B88#FFFFFF#000000##FFFFFF
##173B881.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173b88;
/* rgb */ color: rgb(23, 59, 136);
/* oklch */ color: oklch(37.7% 0.136 262.8);
Tailwind
colors: {
  custom: {
    50: '#6970ab',
    500: '#173b88',
    950: '#000000',
  },
}
SCSS
$custom: #173b88;
$custom-light: #6970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#173b88",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 136
  },
  "hsl": {
    "h": 220.885,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.13556,
    "h": 262.8
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173B88

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

Preview Lab → · Contrast checker → · Palette generator →

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