#173E90#173E90

#173E90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.143 H 262.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#173E90
RGBrgb(23, 62, 144)
HSLhsl(221, 72%, 33%)
HSVhsv(221, 84%, 56%)
CMYKcmyk(84%, 56.9%, 0%, 43.5%)
CIE-LABlab(28.49, 18.91, -49.10)
CIE-LCHlch(28.49, 52.61, 291.06°)
OKLaboklab(39.02% -0.0184 -0.1418)
OKLCHoklch(39.02% 0.143 262.6)
XYZxyz(7.1082, 5.6402, 27.0942)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E90 #906917
analogous
#177A90 #173E90 #2C1790
triadic
#173E90 #90173E #3E9017
tetradic
#173E90 #90177A #906917 #17902C
square
#173E90 #90177A #906917 #17902C
split-complementary
#173E90 #902C17 #7A9017
monochromatic
#061126 #0F275B #173E90 #1F55C5 #4174E1

Accessibility & contrast

On white

9.87
#173E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#173E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E90
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E90#FFFFFF#000000##FFFFFF
##173E901.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #173e90;
/* rgb */ color: rgb(23, 62, 144);
/* oklch */ color: oklch(39.0% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b72b1',
    500: '#173e90',
    950: '#000000',
  },
}
SCSS
$custom: #173e90;
$custom-light: #6b72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173e90",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 220.661,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.14297,
    "h": 262.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#173E90
secondary
#C19842
accent
#B439EF
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #173E90

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

Preview Lab → · Contrast checker → · Palette generator →

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