#173E8B#173E8B

#173E8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.136 H 262.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#173E8B
RGBrgb(23, 62, 139)
HSLhsl(220, 72%, 32%)
HSVhsv(220, 83%, 55%)
CMYKcmyk(83.5%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.09, 16.86, -46.66)
CIE-LCHlch(28.09, 49.61, 289.87°)
OKLaboklab(38.59% -0.0189 -0.1346)
OKLCHoklch(38.59% 0.136 262)
XYZxyz(6.7345, 5.4907, 25.1260)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E8B #8B6417
analogous
#17788B #173E8B #2A178B
triadic
#173E8B #8B173E #3E8B17
tetradic
#173E8B #8B1778 #8B6417 #178B2A
square
#173E8B #8B1778 #8B6417 #178B2A
split-complementary
#173E8B #8B2A17 #788B17
monochromatic
#060F22 #0E2756 #173E8B #2055C0 #3D74DF

Accessibility & contrast

On white

10.01
#173E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#173E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E8B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E8B#FFFFFF#000000##FFFFFF
##173E8B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173e8b;
/* rgb */ color: rgb(23, 62, 139);
/* oklch */ color: oklch(38.6% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#6972ad',
    500: '#173e8b',
    950: '#000000',
  },
}
SCSS
$custom: #173e8b;
$custom-light: #6972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#173e8b",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 219.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.13592,
    "h": 262
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#173E8B
secondary
#BF943F
accent
#B239EE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #173E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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