#173D85#173D85

#173D85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.129 H 261.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#173D85
RGBrgb(23, 61, 133)
HSLhsl(219, 71%, 31%)
HSVhsv(219, 83%, 52%)
CMYKcmyk(82.7%, 54.1%, 0%, 47.8%)
CIE-LABlab(27.33, 15.09, -44.16)
CIE-LCHlch(27.33, 46.67, 288.86°)
OKLaboklab(37.87% -0.0188 -0.1273)
OKLCHoklch(37.87% 0.129 261.6)
XYZxyz(6.2542, 5.2124, 22.8622)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D85 #855F17
analogous
#177485 #173D85 #281785
triadic
#173D85 #85173D #3D8517
tetradic
#173D85 #851774 #855F17 #178528
square
#173D85 #851774 #855F17 #178528
split-complementary
#173D85 #852817 #748517
monochromatic
#050D1D #0E2551 #173D85 #2055B9 #3A72DD

Accessibility & contrast

On white

10.28
#173D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D85
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D85#FFFFFF#000000##FFFFFF
##173D851.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173d85;
/* rgb */ color: rgb(23, 61, 133);
/* oklch */ color: oklch(37.9% 0.129 261.6);
Tailwind
colors: {
  custom: {
    50: '#6871a9',
    500: '#173d85',
    950: '#000000',
  },
}
SCSS
$custom: #173d85;
$custom-light: #6871a9;
$custom-dark: #000000;
JSON
{
  "hex": "#173d85",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 133
  },
  "hsl": {
    "h": 219.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.12867,
    "h": 261.6
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#173D85
secondary
#B98F3F
accent
#B03BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173D85

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

Preview Lab → · Contrast checker → · Palette generator →

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