#173B85#173B85

#173B85 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.131 H 262.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#173B85
RGBrgb(23, 59, 133)
HSLhsl(220, 71%, 31%)
HSVhsv(220, 83%, 52%)
CMYKcmyk(82.7%, 55.6%, 0%, 47.8%)
CIE-LABlab(26.74, 16.49, -45.12)
CIE-LCHlch(26.74, 48.04, 290.08°)
OKLaboklab(37.42% -0.0173 -0.1301)
OKLCHoklch(37.42% 0.131 262.4)
XYZxyz(6.1494, 5.0028, 22.8273)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B85 #856117
analogous
#177285 #173B85 #2A1785
triadic
#173B85 #85173B #3B8517
tetradic
#173B85 #851772 #856117 #17852A
square
#173B85 #851772 #856117 #17852A
split-complementary
#173B85 #852A17 #728517
monochromatic
#050D1D #0E2451 #173B85 #2052B9 #3A6FDD

Accessibility & contrast

On white

10.50
#173B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#173B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B85
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B85#FFFFFF#000000##FFFFFF
##173B851.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173b85;
/* rgb */ color: rgb(23, 59, 133);
/* oklch */ color: oklch(37.4% 0.131 262.4);
Tailwind
colors: {
  custom: {
    50: '#6870a9',
    500: '#173b85',
    950: '#000000',
  },
}
SCSS
$custom: #173b85;
$custom-light: #6870a9;
$custom-dark: #000000;
JSON
{
  "hex": "#173b85",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 220.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.13128,
    "h": 262.4
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#173B85
secondary
#B9913F
accent
#B33BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173B85

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

Preview Lab → · Contrast checker → · Palette generator →

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