#173E8C#173E8C

#173E8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.137 H 262.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#173E8C
RGBrgb(23, 62, 140)
HSLhsl(220, 72%, 32%)
HSVhsv(220, 84%, 55%)
CMYKcmyk(83.6%, 55.7%, 0%, 45.1%)
CIE-LABlab(28.17, 17.27, -47.15)
CIE-LCHlch(28.17, 50.21, 290.12°)
OKLaboklab(38.68% -0.0188 -0.136)
OKLCHoklch(38.68% 0.137 262.1)
XYZxyz(6.8079, 5.5200, 25.5125)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E8C #8C6517
analogous
#17798C #173E8C #2B178C
triadic
#173E8C #8C173E #3E8C17
tetradic
#173E8C #8C1779 #8C6517 #178C2B
square
#173E8C #8C1779 #8C6517 #178C2B
split-complementary
#173E8C #8C2B17 #798C17
monochromatic
#060F23 #0E2757 #173E8C #2055C1 #3E74DF

Accessibility & contrast

On white

9.98
#173E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E8C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E8C#FFFFFF#000000##FFFFFF
##173E8C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173e8c;
/* rgb */ color: rgb(23, 62, 140);
/* oklch */ color: oklch(38.7% 0.137 262.1);
Tailwind
colors: {
  custom: {
    50: '#6a72ae',
    500: '#173e8c',
    950: '#000000',
  },
}
SCSS
$custom: #173e8c;
$custom-light: #6a72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#173e8c",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 140
  },
  "hsl": {
    "h": 220,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.13734,
    "h": 262.1
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#173E8C
secondary
#BF953F
accent
#B239EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #173E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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