#173C90#173C90

#173C90 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.146 H 263.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#173C90
RGBrgb(23, 60, 144)
HSLhsl(222, 72%, 33%)
HSVhsv(222, 84%, 56%)
CMYKcmyk(84%, 58.3%, 0%, 43.5%)
CIE-LABlab(27.92, 20.30, -50.02)
CIE-LCHlch(27.92, 53.98, 292.09°)
OKLaboklab(38.59% -0.0171 -0.1445)
OKLCHoklch(38.59% 0.146 263.3)
XYZxyz(7.0014, 5.4266, 27.0586)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C90 #906B17
analogous
#177890 #173C90 #2F1790
triadic
#173C90 #90173C #3C9017
tetradic
#173C90 #901778 #906B17 #17902F
square
#173C90 #901778 #906B17 #17902F
split-complementary
#173C90 #902F17 #789017
monochromatic
#061026 #0F265B #173C90 #1F52C5 #4172E1

Accessibility & contrast

On white

10.07
#173C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#173C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C90
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C90#FFFFFF#000000##FFFFFF
##173C901.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173c90;
/* rgb */ color: rgb(23, 60, 144);
/* oklch */ color: oklch(38.6% 0.146 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b71b1',
    500: '#173c90',
    950: '#000000',
  },
}
SCSS
$custom: #173c90;
$custom-light: #6b71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#173c90",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 221.653,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.14553,
    "h": 263.3
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#173C90
secondary
#C19A42
accent
#B739EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173C90

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

Preview Lab → · Contrast checker → · Palette generator →

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