#173C8C#173C8C

#173C8C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.140 H 262.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#173C8C
RGBrgb(23, 60, 140)
HSLhsl(221, 72%, 32%)
HSVhsv(221, 84%, 55%)
CMYKcmyk(83.6%, 57.1%, 0%, 45.1%)
CIE-LABlab(27.59, 18.67, -48.09)
CIE-LCHlch(27.59, 51.58, 291.21°)
OKLaboklab(38.24% -0.0174 -0.1388)
OKLCHoklch(38.24% 0.14 262.9)
XYZxyz(6.7011, 5.3065, 25.4769)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C8C #8C6717
analogous
#17778C #173C8C #2D178C
triadic
#173C8C #8C173C #3C8C17
tetradic
#173C8C #8C1777 #8C6717 #178C2D
square
#173C8C #8C1777 #8C6717 #178C2D
split-complementary
#173C8C #8C2D17 #778C17
monochromatic
#060F23 #0E2557 #173C8C #2053C1 #3E71DF

Accessibility & contrast

On white

10.19
#173C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C8C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C8C#FFFFFF#000000##FFFFFF
##173C8C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173c8c;
/* rgb */ color: rgb(23, 60, 140);
/* oklch */ color: oklch(38.2% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#173c8c',
    950: '#000000',
  },
}
SCSS
$custom: #173c8c;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#173c8c",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 221.026,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38239,
    "c": 0.13992,
    "h": 262.9
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#173C8C
secondary
#BF973F
accent
#B539EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #173C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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