#173FB4#173FB4

#173FB4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.190 H 264.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#173FB4
RGBrgb(23, 63, 180)
HSLhsl(225, 77%, 40%)
HSVhsv(225, 87%, 71%)
CMYKcmyk(87.2%, 65%, 0%, 29.4%)
CIE-LABlab(31.88, 32.52, -65.30)
CIE-LCHlch(31.88, 72.95, 296.48°)
OKLaboklab(42.51% -0.0179 -0.1892)
OKLCHoklch(42.51% 0.19 264.6)
XYZxyz(10.3662, 7.0311, 43.9820)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173FB4 #B48C17
analogous
#178EB4 #173FB4 #3D17B4
triadic
#173FB4 #B4173F #3FB417
tetradic
#173FB4 #B4178E #B48C17 #17B43D
square
#173FB4 #B4178E #B48C17 #17B43D
split-complementary
#173FB4 #B43D17 #8EB417
monochromatic
#091947 #102C7E #173FB4 #2555E3 #5B80EA

Accessibility & contrast

On white

8.73
#173FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#173FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173FB4
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173FB4#FFFFFF#000000##FFFFFF
##173FB41.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #173fb4;
/* rgb */ color: rgb(23, 63, 180);
/* oklch */ color: oklch(42.5% 0.190 264.6);
Tailwind
colors: {
  custom: {
    50: '#7473cc',
    500: '#173fb4',
    950: '#000000',
  },
}
SCSS
$custom: #173fb4;
$custom-light: #7473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#173fb4",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 224.713,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.19007,
    "h": 264.6
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#173FB4
secondary
#CEB059
accent
#C334F4
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #173FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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