#173C7F#173C7F

#173C7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.121 H 261.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#173C7F
RGBrgb(23, 60, 127)
HSLhsl(219, 69%, 29%)
HSVhsv(219, 82%, 50%)
CMYKcmyk(81.9%, 52.8%, 0%, 50.2%)
CIE-LABlab(26.58, 13.30, -41.63)
CIE-LCHlch(26.58, 43.71, 287.72°)
OKLaboklab(37.15% -0.0187 -0.1199)
OKLCHoklch(37.15% 0.121 261.1)
XYZxyz(5.7986, 4.9455, 20.7235)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7F #7F5A17
analogous
#17707F #173C7F #26177F
triadic
#173C7F #7F173C #3C7F17
tetradic
#173C7F #7F1770 #7F5A17 #177F26
square
#173C7F #7F1770 #7F5A17 #177F26
split-complementary
#173C7F #7F2617 #707F17
monochromatic
#050C1A #0E244B #173C7F #2054B3 #3670DB

Accessibility & contrast

On white

10.56
#173C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C7F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C7F#FFFFFF#000000##FFFFFF
##173C7F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173c7f;
/* rgb */ color: rgb(23, 60, 127);
/* oklch */ color: oklch(37.2% 0.121 261.1);
Tailwind
colors: {
  custom: {
    50: '#6671a5',
    500: '#173c7f',
    950: '#000000',
  },
}
SCSS
$custom: #173c7f;
$custom-light: #6671a5;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7f",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 218.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.12132,
    "h": 261.1
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#173C7F
secondary
#B48A3E
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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