#173E8E#173E8E

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

Color values

HEX#173E8E
RGBrgb(23, 62, 142)
HSLhsl(220, 72%, 32%)
HSVhsv(220, 84%, 56%)
CMYKcmyk(83.8%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.33, 18.09, -48.13)
CIE-LCHlch(28.33, 51.41, 290.60°)
OKLaboklab(38.85% -0.0186 -0.1389)
OKLCHoklch(38.85% 0.14 262.4)
XYZxyz(6.9567, 5.5796, 26.2963)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E8E #8E6717
analogous
#177A8E #173E8E #2B178E
triadic
#173E8E #8E173E #3E8E17
tetradic
#173E8E #8E177A #8E6717 #178E2B
square
#173E8E #8E177A #8E6717 #178E2B
split-complementary
#173E8E #8E2B17 #7A8E17
monochromatic
#061025 #0E2759 #173E8E #2055C3 #3F74E0

Accessibility & contrast

On white

9.92
#173E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E8E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E8E#FFFFFF#000000##FFFFFF
##173E8E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173e8e;
/* rgb */ color: rgb(23, 62, 142);
/* oklch */ color: oklch(38.8% 0.140 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a72b0',
    500: '#173e8e',
    950: '#000000',
  },
}
SCSS
$custom: #173e8e;
$custom-light: #6a72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173e8e",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 220.336,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38845,
    "c": 0.14016,
    "h": 262.4
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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