#173E81#173E81

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

Color values

HEX#173E81
RGBrgb(23, 62, 129)
HSLhsl(218, 70%, 30%)
HSVhsv(218, 82%, 51%)
CMYKcmyk(82.2%, 51.9%, 0%, 49.4%)
CIE-LABlab(27.33, 12.73, -41.67)
CIE-LCHlch(27.33, 43.57, 286.99°)
OKLaboklab(37.77% -0.0201 -0.1199)
OKLCHoklch(37.77% 0.122 260.5)
XYZxyz(6.0370, 5.2117, 21.4524)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E81 #815A17
analogous
#177381 #173E81 #251781
triadic
#173E81 #81173E #3E8117
tetradic
#173E81 #811773 #815A17 #178125
square
#173E81 #811773 #815A17 #178125
split-complementary
#173E81 #812517 #738117
monochromatic
#050C1A #0E254D #173E81 #2057B5 #3773DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173E81#FFFFFF#000000##FFFFFF
##173E811.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)
#144683
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173e81;
/* rgb */ color: rgb(23, 62, 129);
/* oklch */ color: oklch(37.8% 0.122 260.5);
Tailwind
colors: {
  custom: {
    50: '#6772a6',
    500: '#173e81',
    950: '#000000',
  },
}
SCSS
$custom: #173e81;
$custom-light: #6772a6;
$custom-dark: #000000;
JSON
{
  "hex": "#173e81",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 217.925,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.12161,
    "h": 260.5
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#173E81
secondary
#B58A3E
accent
#AB3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173E81

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

Preview Lab → · Contrast checker → · Palette generator →

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