#173E96#173E96

#173E96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.151 H 263.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#173E96
RGBrgb(23, 62, 150)
HSLhsl(222, 73%, 34%)
HSVhsv(222, 85%, 59%)
CMYKcmyk(84.7%, 58.7%, 0%, 41.2%)
CIE-LABlab(28.98, 21.35, -51.98)
CIE-LCHlch(28.98, 56.19, 292.33°)
OKLaboklab(39.54% -0.018 -0.1502)
OKLCHoklch(39.54% 0.151 263.2)
XYZxyz(7.5790, 5.8285, 29.5738)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E96 #966F17
analogous
#177E96 #173E96 #301796
triadic
#173E96 #96173E #3E9617
tetradic
#173E96 #96177E #966F17 #179630
square
#173E96 #96177E #966F17 #179630
split-complementary
#173E96 #963017 #7E9617
monochromatic
#07122C #0F2861 #173E96 #1F54CB #4575E2

Accessibility & contrast

On white

9.70
#173E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#173E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E96
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E96#FFFFFF#000000##FFFFFF
##173E961.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #173e96;
/* rgb */ color: rgb(23, 62, 150);
/* oklch */ color: oklch(39.5% 0.151 263.2);
Tailwind
colors: {
  custom: {
    50: '#6c72b6',
    500: '#173e96',
    950: '#000000',
  },
}
SCSS
$custom: #173e96;
$custom-light: #6c72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#173e96",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 221.575,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.15131,
    "h": 263.2
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#173E96
secondary
#C39D45
accent
#B738F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #173E96

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

Preview Lab → · Contrast checker → · Palette generator →

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