#173E8D#173E8D

#173E8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.139 H 262.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#173E8D
RGBrgb(23, 62, 141)
HSLhsl(220, 72%, 32%)
HSVhsv(220, 84%, 55%)
CMYKcmyk(83.7%, 56%, 0%, 44.7%)
CIE-LABlab(28.25, 17.68, -47.64)
CIE-LCHlch(28.25, 50.81, 290.36°)
OKLaboklab(38.76% -0.0187 -0.1375)
OKLCHoklch(38.76% 0.139 262.3)
XYZxyz(6.8820, 5.5497, 25.9026)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E8D #8D6617
analogous
#17798D #173E8D #2B178D
triadic
#173E8D #8D173E #3E8D17
tetradic
#173E8D #8D1779 #8D6617 #178D2B
square
#173E8D #8D1779 #8D6617 #178D2B
split-complementary
#173E8D #8D2B17 #798D17
monochromatic
#061024 #0E2758 #173E8D #2055C2 #3F74E0

Accessibility & contrast

On white

9.95
#173E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#173E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E8D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E8D#FFFFFF#000000##FFFFFF
##173E8D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #173e8d;
/* rgb */ color: rgb(23, 62, 141);
/* oklch */ color: oklch(38.8% 0.139 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a72af',
    500: '#173e8d',
    950: '#000000',
  },
}
SCSS
$custom: #173e8d;
$custom-light: #6a72af;
$custom-dark: #000000;
JSON
{
  "hex": "#173e8d",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 220.169,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.13875,
    "h": 262.3
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#173E8D
secondary
#C09640
accent
#B339EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #173E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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