#173C83#173C83

#173C83 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.5% C 0.127 H 261.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#173C83
RGBrgb(23, 60, 131)
HSLhsl(219, 70%, 30%)
HSVhsv(219, 82%, 51%)
CMYKcmyk(82.4%, 54.2%, 0%, 48.6%)
CIE-LABlab(26.88, 14.96, -43.64)
CIE-LCHlch(26.88, 46.14, 288.92°)
OKLaboklab(37.48% -0.0182 -0.1258)
OKLCHoklch(37.48% 0.127 261.7)
XYZxyz(6.0645, 5.0518, 22.1238)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C83 #835E17
analogous
#177283 #173C83 #281783
triadic
#173C83 #83173C #3C8317
tetradic
#173C83 #831772 #835E17 #178328
square
#173C83 #831772 #835E17 #178328
split-complementary
#173C83 #832817 #728317
monochromatic
#050C1B #0E244F #173C83 #2054B7 #3870DC

Accessibility & contrast

On white

10.44
#173C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C83
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C83#FFFFFF#000000##FFFFFF
##173C831.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173c83;
/* rgb */ color: rgb(23, 60, 131);
/* oklch */ color: oklch(37.5% 0.127 261.7);
Tailwind
colors: {
  custom: {
    50: '#6771a8',
    500: '#173c83',
    950: '#000000',
  },
}
SCSS
$custom: #173c83;
$custom-light: #6771a8;
$custom-dark: #000000;
JSON
{
  "hex": "#173c83",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 219.444,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.12711,
    "h": 261.7
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#173C83
secondary
#B78E3F
accent
#B03BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173C83

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

Preview Lab → · Contrast checker → · Palette generator →

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