#173DB4#173DB4

#173DB4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.192 H 264.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#173DB4
RGBrgb(23, 61, 180)
HSLhsl(225, 77%, 40%)
HSVhsv(225, 87%, 71%)
CMYKcmyk(87.2%, 66.1%, 0%, 29.4%)
CIE-LABlab(31.38, 33.83, -66.12)
CIE-LCHlch(31.38, 74.27, 297.10°)
OKLaboklab(42.15% -0.017 -0.1916)
OKLCHoklch(42.15% 0.192 264.9)
XYZxyz(10.2574, 6.8136, 43.9457)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173DB4 #B48E17
analogous
#178BB4 #173DB4 #4017B4
triadic
#173DB4 #B4173D #3DB417
tetradic
#173DB4 #B4178B #B48E17 #17B440
square
#173DB4 #B4178B #B48E17 #17B440
split-complementary
#173DB4 #B44017 #8BB417
monochromatic
#091847 #102B7E #173DB4 #2553E3 #5B7EEA

Accessibility & contrast

On white

8.89
#173DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#173DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173DB4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173DB4#FFFFFF#000000##FFFFFF
##173DB41.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #173db4;
/* rgb */ color: rgb(23, 61, 180);
/* oklch */ color: oklch(42.1% 0.192 264.9);
Tailwind
colors: {
  custom: {
    50: '#7572cc',
    500: '#173db4',
    950: '#000000',
  },
}
SCSS
$custom: #173db4;
$custom-light: #7572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#173db4",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 225.478,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42146,
    "c": 0.19241,
    "h": 264.9
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#173DB4
secondary
#CEB159
accent
#C534F4
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #173DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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