#173F90#173F90

#173F90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.142 H 262.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#173F90
RGBrgb(23, 63, 144)
HSLhsl(220, 72%, 33%)
HSVhsv(220, 84%, 56%)
CMYKcmyk(84%, 56.3%, 0%, 43.5%)
CIE-LABlab(28.77, 18.21, -48.63)
CIE-LCHlch(28.77, 51.93, 290.53°)
OKLaboklab(39.23% -0.0191 -0.1404)
OKLCHoklch(39.23% 0.142 262.3)
XYZxyz(7.1631, 5.7499, 27.1125)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F90 #906817
analogous
#177C90 #173F90 #2B1790
triadic
#173F90 #90173F #3F9017
tetradic
#173F90 #90177C #906817 #17902B
square
#173F90 #90177C #906817 #17902B
split-complementary
#173F90 #902B17 #7C9017
monochromatic
#061126 #0F285B #173F90 #1F56C5 #4176E1

Accessibility & contrast

On white

9.77
#173F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#173F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F90
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F90#FFFFFF#000000##FFFFFF
##173F901.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #173f90;
/* rgb */ color: rgb(23, 63, 144);
/* oklch */ color: oklch(39.2% 0.142 262.3);
Tailwind
colors: {
  custom: {
    50: '#6b73b1',
    500: '#173f90',
    950: '#000000',
  },
}
SCSS
$custom: #173f90;
$custom-light: #6b73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173f90",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 220.165,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.14168,
    "h": 262.3
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#173F90
secondary
#C19742
accent
#B339EF
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080811
muted
#7A7B80

Preview Lab

Preview with #173F90

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

Preview Lab → · Contrast checker → · Palette generator →

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