#173C8B#173C8B

#173C8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.139 H 262.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#173C8B
RGBrgb(23, 60, 139)
HSLhsl(221, 72%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(83.5%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.51, 18.26, -47.60)
CIE-LCHlch(27.51, 50.98, 290.98°)
OKLaboklab(38.15% -0.0174 -0.1374)
OKLCHoklch(38.15% 0.139 262.8)
XYZxyz(6.6277, 5.2772, 25.0904)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C8B #8B6617
analogous
#17768B #173C8B #2C178B
triadic
#173C8B #8B173C #3C8B17
tetradic
#173C8B #8B1776 #8B6617 #178B2C
square
#173C8B #8B1776 #8B6617 #178B2C
split-complementary
#173C8B #8B2C17 #768B17
monochromatic
#060F22 #0E2556 #173C8B #2053C0 #3D71DF

Accessibility & contrast

On white

10.22
#173C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C8B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C8B#FFFFFF#000000##FFFFFF
##173C8B1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173c8b;
/* rgb */ color: rgb(23, 60, 139);
/* oklch */ color: oklch(38.2% 0.139 262.8);
Tailwind
colors: {
  custom: {
    50: '#6971ae',
    500: '#173c8b',
    950: '#000000',
  },
}
SCSS
$custom: #173c8b;
$custom-light: #6971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#173c8b",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 220.862,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.13851,
    "h": 262.8
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#173C8B
secondary
#BF963F
accent
#B539EE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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