#173A85#173A85

#173A85 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.133 H 262.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#173A85
RGBrgb(23, 58, 133)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 52%)
CMYKcmyk(82.7%, 56.4%, 0%, 47.8%)
CIE-LABlab(26.45, 17.19, -45.59)
CIE-LCHlch(26.45, 48.73, 290.66°)
OKLaboklab(37.2% -0.0165 -0.1315)
OKLCHoklch(37.2% 0.133 262.8)
XYZxyz(6.0985, 4.9010, 22.8103)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A85 #856217
analogous
#177185 #173A85 #2B1785
triadic
#173A85 #85173A #3A8517
tetradic
#173A85 #851771 #856217 #17852B
square
#173A85 #851771 #856217 #17852B
split-complementary
#173A85 #852B17 #718517
monochromatic
#050C1D #0E2351 #173A85 #2051B9 #3A6EDD

Accessibility & contrast

On white

10.60
#173A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#173A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A85
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A85#FFFFFF#000000##FFFFFF
##173A851.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173a85;
/* rgb */ color: rgb(23, 58, 133);
/* oklch */ color: oklch(37.2% 0.133 262.8);
Tailwind
colors: {
  custom: {
    50: '#686fa9',
    500: '#173a85',
    950: '#000000',
  },
}
SCSS
$custom: #173a85;
$custom-light: #686fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#173a85",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 220.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.372,
    "c": 0.13259,
    "h": 262.8
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#173A85
secondary
#B9923F
accent
#B43BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173A85

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

Preview Lab → · Contrast checker → · Palette generator →

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