#173F85#173F85

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

Color values

HEX#173F85
RGBrgb(23, 63, 133)
HSLhsl(218, 71%, 31%)
HSVhsv(218, 83%, 52%)
CMYKcmyk(82.7%, 52.6%, 0%, 47.8%)
CIE-LABlab(27.93, 13.69, -43.20)
CIE-LCHlch(27.93, 45.32, 287.58°)
OKLaboklab(38.32% -0.0203 -0.1244)
OKLCHoklch(38.32% 0.126 260.7)
XYZxyz(6.3630, 5.4299, 22.8985)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F85 #855D17
analogous
#177685 #173F85 #261785
triadic
#173F85 #85173F #3F8517
tetradic
#173F85 #851776 #855D17 #178526
square
#173F85 #851776 #855D17 #178526
split-complementary
#173F85 #852617 #768517
monochromatic
#050E1D #0E2651 #173F85 #2058B9 #3A75DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173F85#FFFFFF#000000##FFFFFF
##173F851.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)
#114788
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173f85;
/* rgb */ color: rgb(23, 63, 133);
/* oklch */ color: oklch(38.3% 0.126 260.7);
Tailwind
colors: {
  custom: {
    50: '#6873a9',
    500: '#173f85',
    950: '#000000',
  },
}
SCSS
$custom: #173f85;
$custom-light: #6873a9;
$custom-dark: #000000;
JSON
{
  "hex": "#173f85",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 218.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.12607,
    "h": 260.7
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#173F85
secondary
#B98D3F
accent
#AC3BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #173F85

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

Preview Lab → · Contrast checker → · Palette generator →

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