#173B90#173B90

#173B90 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.147 H 263.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#173B90
RGBrgb(23, 59, 144)
HSLhsl(222, 72%, 33%)
HSVhsv(222, 84%, 56%)
CMYKcmyk(84%, 59%, 0%, 43.5%)
CIE-LABlab(27.64, 20.99, -50.48)
CIE-LCHlch(27.64, 54.67, 292.58°)
OKLaboklab(38.38% -0.0164 -0.1459)
OKLCHoklch(38.38% 0.147 263.6)
XYZxyz(6.9496, 5.3229, 27.0413)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B90 #906C17
analogous
#177790 #173B90 #301790
triadic
#173B90 #90173B #3B9017
tetradic
#173B90 #901777 #906C17 #179030
square
#173B90 #901777 #906C17 #179030
split-complementary
#173B90 #903017 #779017
monochromatic
#061026 #0F255B #173B90 #1F51C5 #4170E1

Accessibility & contrast

On white

10.17
#173B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B90
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B90#FFFFFF#000000##FFFFFF
##173B901.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173b90;
/* rgb */ color: rgb(23, 59, 144);
/* oklch */ color: oklch(38.4% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b70b1',
    500: '#173b90',
    950: '#000000',
  },
}
SCSS
$custom: #173b90;
$custom-light: #6b70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173b90",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 144
  },
  "hsl": {
    "h": 222.149,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.14682,
    "h": 263.6
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#173B90
secondary
#C19B42
accent
#B939EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173B90

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

Preview Lab → · Contrast checker → · Palette generator →

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