#173CB4#173CB4

#173CB4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.194 H 265.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#173CB4
RGBrgb(23, 60, 180)
HSLhsl(226, 77%, 40%)
HSVhsv(226, 87%, 71%)
CMYKcmyk(87.2%, 66.7%, 0%, 29.4%)
CIE-LABlab(31.13, 34.48, -66.52)
CIE-LCHlch(31.13, 74.93, 297.40°)
OKLaboklab(41.97% -0.0167 -0.1928)
OKLCHoklch(41.97% 0.194 265.1)
XYZxyz(10.2045, 6.7079, 43.9281)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173CB4 #B48F17
analogous
#178AB4 #173CB4 #4117B4
triadic
#173CB4 #B4173C #3CB417
tetradic
#173CB4 #B4178A #B48F17 #17B441
square
#173CB4 #B4178A #B48F17 #17B441
split-complementary
#173CB4 #B44117 #8AB417
monochromatic
#091847 #102A7E #173CB4 #2552E3 #5B7DEA

Accessibility & contrast

On white

8.97
#173CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#173CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173CB4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173CB4#FFFFFF#000000##FFFFFF
##173CB41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #173cb4;
/* rgb */ color: rgb(23, 60, 180);
/* oklch */ color: oklch(42.0% 0.194 265.1);
Tailwind
colors: {
  custom: {
    50: '#7571cc',
    500: '#173cb4',
    950: '#000000',
  },
}
SCSS
$custom: #173cb4;
$custom-light: #7571cc;
$custom-dark: #000000;
JSON
{
  "hex": "#173cb4",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 225.86,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.19356,
    "h": 265.1
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#173CB4
secondary
#CEB259
accent
#C734F4
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #173CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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