#173D84#173D84

#173D84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.127 H 261.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#173D84
RGBrgb(23, 61, 132)
HSLhsl(219, 70%, 30%)
HSVhsv(219, 83%, 52%)
CMYKcmyk(82.6%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.26, 14.67, -43.66)
CIE-LCHlch(27.26, 46.06, 288.57°)
OKLaboklab(37.79% -0.0189 -0.1258)
OKLCHoklch(37.79% 0.127 261.5)
XYZxyz(6.1854, 5.1849, 22.5001)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D84 #845E17
analogous
#177384 #173D84 #281784
triadic
#173D84 #84173D #3D8417
tetradic
#173D84 #841773 #845E17 #178428
square
#173D84 #841773 #845E17 #178428
split-complementary
#173D84 #842817 #738417
monochromatic
#050D1C #0E2550 #173D84 #2055B8 #3972DC

Accessibility & contrast

On white

10.31
#173D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D84
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D84#FFFFFF#000000##FFFFFF
##173D841.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173d84;
/* rgb */ color: rgb(23, 61, 132);
/* oklch */ color: oklch(37.8% 0.127 261.5);
Tailwind
colors: {
  custom: {
    50: '#6771a8',
    500: '#173d84',
    950: '#000000',
  },
}
SCSS
$custom: #173d84;
$custom-light: #6771a8;
$custom-dark: #000000;
JSON
{
  "hex": "#173d84",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 219.083,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.12723,
    "h": 261.5
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#173D84
secondary
#B88E3F
accent
#AF3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173D84

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

Preview Lab → · Contrast checker → · Palette generator →

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