#173A84#173A84

#173A84 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.131 H 262.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#173A84
RGBrgb(23, 58, 132)
HSLhsl(221, 70%, 30%)
HSVhsv(221, 83%, 52%)
CMYKcmyk(82.6%, 56.1%, 0%, 48.2%)
CIE-LABlab(26.37, 16.78, -45.10)
CIE-LCHlch(26.37, 48.12, 290.41°)
OKLaboklab(37.11% -0.0166 -0.1301)
OKLCHoklch(37.11% 0.131 262.7)
XYZxyz(6.0298, 4.8735, 22.4482)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A84 #846117
analogous
#177084 #173A84 #2A1784
triadic
#173A84 #84173A #3A8417
tetradic
#173A84 #841770 #846117 #17842A
square
#173A84 #841770 #846117 #17842A
split-complementary
#173A84 #842A17 #708417
monochromatic
#050C1C #0E2350 #173A84 #2051B8 #396DDC

Accessibility & contrast

On white

10.63
#173A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A84
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A84#FFFFFF#000000##FFFFFF
##173A841.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173a84;
/* rgb */ color: rgb(23, 58, 132);
/* oklch */ color: oklch(37.1% 0.131 262.7);
Tailwind
colors: {
  custom: {
    50: '#686fa8',
    500: '#173a84',
    950: '#000000',
  },
}
SCSS
$custom: #173a84;
$custom-light: #686fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#173a84",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 132
  },
  "hsl": {
    "h": 220.734,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.13116,
    "h": 262.7
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173A84

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

Preview Lab → · Contrast checker → · Palette generator →

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