#173E8F#173E8F

#173E8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.142 H 262.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#173E8F
RGBrgb(23, 62, 143)
HSLhsl(221, 72%, 33%)
HSVhsv(221, 84%, 56%)
CMYKcmyk(83.9%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.41, 18.50, -48.61)
CIE-LCHlch(28.41, 52.01, 290.83°)
OKLaboklab(38.93% -0.0185 -0.1403)
OKLCHoklch(38.93% 0.142 262.5)
XYZxyz(7.0321, 5.6097, 26.6934)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E8F #8F6817
analogous
#177A8F #173E8F #2C178F
triadic
#173E8F #8F173E #3E8F17
tetradic
#173E8F #8F177A #8F6817 #178F2C
square
#173E8F #8F177A #8F6817 #178F2C
split-complementary
#173E8F #8F2C17 #7A8F17
monochromatic
#061026 #0F275A #173E8F #1F55C4 #4074E0

Accessibility & contrast

On white

9.90
#173E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#173E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E8F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E8F#FFFFFF#000000##FFFFFF
##173E8F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #173e8f;
/* rgb */ color: rgb(23, 62, 143);
/* oklch */ color: oklch(38.9% 0.142 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a72b0',
    500: '#173e8f',
    950: '#000000',
  },
}
SCSS
$custom: #173e8f;
$custom-light: #6a72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173e8f",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 220.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.14156,
    "h": 262.5
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#173E8F
secondary
#C19741
accent
#B439EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #173E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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