#173D88#173D88

#173D88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.133 H 262.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#173D88
RGBrgb(23, 61, 136)
HSLhsl(220, 71%, 31%)
HSVhsv(220, 83%, 53%)
CMYKcmyk(83.1%, 55.1%, 0%, 46.7%)
CIE-LABlab(27.56, 16.32, -45.65)
CIE-LCHlch(27.56, 48.48, 289.68°)
OKLaboklab(38.12% -0.0184 -0.1317)
OKLCHoklch(38.12% 0.133 262)
XYZxyz(6.4644, 5.2964, 23.9694)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D88 #886217
analogous
#177588 #173D88 #291788
triadic
#173D88 #88173D #3D8817
tetradic
#173D88 #881775 #886217 #178829
square
#173D88 #881775 #886217 #178829
split-complementary
#173D88 #882917 #758817
monochromatic
#050E1F #0E2654 #173D88 #2054BC #3B72DE

Accessibility & contrast

On white

10.20
#173D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D88
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D88#FFFFFF#000000##FFFFFF
##173D881.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173d88;
/* rgb */ color: rgb(23, 61, 136);
/* oklch */ color: oklch(38.1% 0.133 262.0);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#173d88',
    950: '#000000',
  },
}
SCSS
$custom: #173d88;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#173d88",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 219.823,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.13295,
    "h": 262
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#173D88
secondary
#BC923F
accent
#B13AEE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173D88

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

Preview Lab → · Contrast checker → · Palette generator →

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