#173CA1#173CA1

#173CA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.169 H 264.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#173CA1
RGBrgb(23, 60, 161)
HSLhsl(224, 75%, 36%)
HSVhsv(224, 86%, 63%)
CMYKcmyk(85.7%, 62.7%, 0%, 36.9%)
CIE-LABlab(29.38, 27.12, -58.01)
CIE-LCHlch(29.38, 64.04, 295.06°)
OKLaboklab(40.13% -0.0164 -0.168)
OKLCHoklch(40.13% 0.169 264.4)
XYZxyz(8.3999, 5.9860, 34.4240)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173CA1 #A17C17
analogous
#1781A1 #173CA1 #3717A1
triadic
#173CA1 #A1173C #3CA117
tetradic
#173CA1 #A11781 #A17C17 #17A137
square
#173CA1 #A11781 #A17C17 #17A137
split-complementary
#173CA1 #A13717 #81A117
monochromatic
#081436 #0F286B #173CA1 #1F50D7 #4D76E6

Accessibility & contrast

On white

9.56
#173CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#173CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173CA1
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173CA1#FFFFFF#000000##FFFFFF
##173CA11.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #173ca1;
/* rgb */ color: rgb(23, 60, 161);
/* oklch */ color: oklch(40.1% 0.169 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f71be',
    500: '#173ca1',
    950: '#000000',
  },
}
SCSS
$custom: #173ca1;
$custom-light: #6f71be;
$custom-dark: #000000;
JSON
{
  "hex": "#173ca1",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 223.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.16876,
    "h": 264.4
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#173CA1
secondary
#C7A64C
accent
#BF36F2
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #173CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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