#173C88#173C88

#173C88 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.134 H 262.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#173C88
RGBrgb(23, 60, 136)
HSLhsl(220, 71%, 31%)
HSVhsv(220, 83%, 53%)
CMYKcmyk(83.1%, 55.9%, 0%, 46.7%)
CIE-LABlab(27.27, 17.02, -46.13)
CIE-LCHlch(27.27, 49.17, 290.26°)
OKLaboklab(37.9% -0.0177 -0.1331)
OKLCHoklch(37.9% 0.134 262.4)
XYZxyz(6.4115, 5.1907, 23.9518)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C88 #886317
analogous
#177488 #173C88 #2A1788
triadic
#173C88 #88173C #3C8817
tetradic
#173C88 #881774 #886317 #17882A
square
#173C88 #881774 #886317 #17882A
split-complementary
#173C88 #882A17 #748817
monochromatic
#050E1F #0E2554 #173C88 #2053BC #3B71DE

Accessibility & contrast

On white

10.30
#173C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C88
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C88#FFFFFF#000000##FFFFFF
##173C881.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173c88;
/* rgb */ color: rgb(23, 60, 136);
/* oklch */ color: oklch(37.9% 0.134 262.4);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#173c88',
    950: '#000000',
  },
}
SCSS
$custom: #173c88;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#173c88",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 220.354,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.13426,
    "h": 262.4
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#173C88
secondary
#BC933F
accent
#B33AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173C88

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

Preview Lab → · Contrast checker → · Palette generator →

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