#173C80#173C80

#173C80 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.2% C 0.123 H 261.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#173C80
RGBrgb(23, 60, 128)
HSLhsl(219, 70%, 30%)
HSVhsv(219, 82%, 50%)
CMYKcmyk(82%, 53.1%, 0%, 49.8%)
CIE-LABlab(26.65, 13.72, -42.14)
CIE-LCHlch(26.65, 44.31, 288.03°)
OKLaboklab(37.23% -0.0186 -0.1213)
OKLCHoklch(37.23% 0.123 261.3)
XYZxyz(5.8641, 4.9717, 21.0685)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C80 #805B17
analogous
#177180 #173C80 #271780
triadic
#173C80 #80173C #3C8017
tetradic
#173C80 #801771 #805B17 #178027
square
#173C80 #801771 #805B17 #178027
split-complementary
#173C80 #802717 #718017
monochromatic
#050C1A #0E244C #173C80 #2054B4 #3670DB

Accessibility & contrast

On white

10.53
#173C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C80
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C80#FFFFFF#000000##FFFFFF
##173C801.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4482
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173c80;
/* rgb */ color: rgb(23, 60, 128);
/* oklch */ color: oklch(37.2% 0.123 261.3);
Tailwind
colors: {
  custom: {
    50: '#6671a5',
    500: '#173c80',
    950: '#000000',
  },
}
SCSS
$custom: #173c80;
$custom-light: #6671a5;
$custom-dark: #000000;
JSON
{
  "hex": "#173c80",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 218.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.12277,
    "h": 261.3
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#173C80
secondary
#B48B3E
accent
#AE3BEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C80

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

Preview Lab → · Contrast checker → · Palette generator →

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