#173DA1#173DA1

#173DA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.168 H 264.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#173DA1
RGBrgb(23, 61, 161)
HSLhsl(223, 75%, 36%)
HSVhsv(223, 86%, 63%)
CMYKcmyk(85.7%, 62.1%, 0%, 36.9%)
CIE-LABlab(29.64, 26.44, -57.58)
CIE-LCHlch(29.64, 63.36, 294.67°)
OKLaboklab(40.33% -0.017 -0.1667)
OKLCHoklch(40.33% 0.168 264.2)
XYZxyz(8.4528, 6.0918, 34.4416)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173DA1 #A17B17
analogous
#1782A1 #173DA1 #3617A1
triadic
#173DA1 #A1173D #3DA117
tetradic
#173DA1 #A11782 #A17B17 #17A136
square
#173DA1 #A11782 #A17B17 #17A136
split-complementary
#173DA1 #A13617 #82A117
monochromatic
#081436 #0F296B #173DA1 #1F51D7 #4D77E6

Accessibility & contrast

On white

9.47
#173DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#173DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173DA1
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173DA1#FFFFFF#000000##FFFFFF
##173DA11.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #173da1;
/* rgb */ color: rgb(23, 61, 161);
/* oklch */ color: oklch(40.3% 0.168 264.2);
Tailwind
colors: {
  custom: {
    50: '#6f72be',
    500: '#173da1',
    950: '#000000',
  },
}
SCSS
$custom: #173da1;
$custom-light: #6f72be;
$custom-dark: #000000;
JSON
{
  "hex": "#173da1",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 223.478,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.16754,
    "h": 264.2
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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