#173EA0#173EA0

#173EA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.165 H 263.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#173EA0
RGBrgb(23, 62, 160)
HSLhsl(223, 75%, 36%)
HSVhsv(223, 86%, 63%)
CMYKcmyk(85.6%, 61.2%, 0%, 37.3%)
CIE-LABlab(29.82, 25.37, -56.68)
CIE-LCHlch(29.82, 62.09, 294.11°)
OKLaboklab(40.44% -0.0175 -0.164)
OKLCHoklch(40.44% 0.165 263.9)
XYZxyz(8.4189, 6.1644, 33.9970)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173EA0 #A07917
analogous
#1782A0 #173EA0 #3517A0
triadic
#173EA0 #A0173E #3EA017
tetradic
#173EA0 #A01782 #A07917 #17A035
square
#173EA0 #A01782 #A07917 #17A035
split-complementary
#173EA0 #A03517 #82A017
monochromatic
#081535 #0F296A #173EA0 #1F53D6 #4C78E5

Accessibility & contrast

On white

9.40
#173EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#173EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173EA0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173EA0#FFFFFF#000000##FFFFFF
##173EA01.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #173ea0;
/* rgb */ color: rgb(23, 62, 160);
/* oklch */ color: oklch(40.4% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f72bd',
    500: '#173ea0',
    950: '#000000',
  },
}
SCSS
$custom: #173ea0;
$custom-light: #6f72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#173ea0",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 222.92,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.16495,
    "h": 263.9
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#173EA0
secondary
#C7A44C
accent
#BC36F1
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #173EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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