#173F94#173F94

#173F94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.147 H 262.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#173F94
RGBrgb(23, 63, 148)
HSLhsl(221, 73%, 34%)
HSVhsv(221, 84%, 58%)
CMYKcmyk(84.5%, 57.4%, 0%, 42%)
CIE-LABlab(29.09, 19.84, -50.56)
CIE-LCHlch(29.09, 54.32, 291.43°)
OKLaboklab(39.58% -0.0188 -0.1461)
OKLCHoklch(39.58% 0.147 262.7)
XYZxyz(7.4742, 5.8744, 28.7512)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F94 #946C17
analogous
#177D94 #173F94 #2D1794
triadic
#173F94 #94173F #3F9417
tetradic
#173F94 #94177D #946C17 #17942D
square
#173F94 #94177D #946C17 #17942D
split-complementary
#173F94 #942D17 #7D9417
monochromatic
#07122A #0F285F #173F94 #1F56C9 #4476E2

Accessibility & contrast

On white

9.66
#173F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#173F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F94
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F94#FFFFFF#000000##FFFFFF
##173F941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #173f94;
/* rgb */ color: rgb(23, 63, 148);
/* oklch */ color: oklch(39.6% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#6c73b4',
    500: '#173f94',
    950: '#000000',
  },
}
SCSS
$custom: #173f94;
$custom-light: #6c73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#173f94",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 220.8,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.14727,
    "h": 262.7
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#173F94
secondary
#C39A44
accent
#B538F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #173F94

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

Preview Lab → · Contrast checker → · Palette generator →

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