#173177#173177

#173177 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.124 H 264.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#173177
RGBrgb(23, 49, 119)
HSLhsl(224, 68%, 28%)
HSVhsv(224, 81%, 47%)
CMYKcmyk(80.7%, 58.8%, 0%, 53.3%)
CIE-LABlab(22.69, 17.80, -42.88)
CIE-LCHlch(22.69, 46.43, 292.54°)
OKLaboklab(34% -0.0109 -0.1238)
OKLCHoklch(34% 0.124 264.9)
XYZxyz(4.7803, 3.7101, 17.9134)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173177 #775D17
analogous
#176177 #173177 #2D1777
triadic
#173177 #771731 #317717
tetradic
#173177 #771761 #775D17 #17772D
square
#173177 #771761 #775D17 #17772D
split-complementary
#173177 #772D17 #617717
monochromatic
#050B1A #0D1C44 #173177 #2146AA #315ED7

Accessibility & contrast

On white

12.05
#173177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173177
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173177#FFFFFF#000000##FFFFFF
##1731771.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173177;
/* rgb */ color: rgb(23, 49, 119);
/* oklch */ color: oklch(34.0% 0.124 264.9);
Tailwind
colors: {
  custom: {
    50: '#65689f',
    500: '#173177',
    950: '#000000',
  },
}
SCSS
$custom: #173177;
$custom-light: #65689f;
$custom-dark: #000000;
JSON
{
  "hex": "#173177",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 223.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34001,
    "c": 0.12424,
    "h": 264.9
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#173177
secondary
#AC8E3E
accent
#BC3DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173177

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

Preview Lab → · Contrast checker → · Palette generator →

#173177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva