#173C8F#173C8F

#173C8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.144 H 263.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#173C8F
RGBrgb(23, 60, 143)
HSLhsl(222, 72%, 33%)
HSVhsv(222, 84%, 56%)
CMYKcmyk(83.9%, 58%, 0%, 43.9%)
CIE-LABlab(27.84, 19.89, -49.54)
CIE-LCHlch(27.84, 53.38, 291.88°)
OKLaboklab(38.5% -0.0171 -0.1431)
OKLCHoklch(38.5% 0.144 263.2)
XYZxyz(6.9254, 5.3962, 26.6578)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C8F #8F6A17
analogous
#17788F #173C8F #2E178F
triadic
#173C8F #8F173C #3C8F17
tetradic
#173C8F #8F1778 #8F6A17 #178F2E
square
#173C8F #8F1778 #8F6A17 #178F2E
split-complementary
#173C8F #8F2E17 #788F17
monochromatic
#061026 #0F265A #173C8F #1F52C4 #4071E0

Accessibility & contrast

On white

10.10
#173C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#173C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C8F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C8F#FFFFFF#000000##FFFFFF
##173C8F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173c8f;
/* rgb */ color: rgb(23, 60, 143);
/* oklch */ color: oklch(38.5% 0.144 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#173c8f',
    950: '#000000',
  },
}
SCSS
$custom: #173c8f;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173c8f",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 221.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.385,
    "c": 0.14414,
    "h": 263.2
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#173C8F
secondary
#C19941
accent
#B739EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #173C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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