#173C8E#173C8E

#173C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.143 H 263.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#173C8E
RGBrgb(23, 60, 142)
HSLhsl(221, 72%, 32%)
HSVhsv(221, 84%, 56%)
CMYKcmyk(83.8%, 57.7%, 0%, 44.3%)
CIE-LABlab(27.75, 19.48, -49.06)
CIE-LCHlch(27.75, 52.78, 291.66°)
OKLaboklab(38.41% -0.0172 -0.1417)
OKLCHoklch(38.41% 0.143 263.1)
XYZxyz(6.8499, 5.3660, 26.2607)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C8E #8E6917
analogous
#17778E #173C8E #2E178E
triadic
#173C8E #8E173C #3C8E17
tetradic
#173C8E #8E1777 #8E6917 #178E2E
square
#173C8E #8E1777 #8E6917 #178E2E
split-complementary
#173C8E #8E2E17 #778E17
monochromatic
#060F25 #0E2659 #173C8E #2052C3 #3F71E0

Accessibility & contrast

On white

10.13
#173C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#173C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C8E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C8E#FFFFFF#000000##FFFFFF
##173C8E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173c8e;
/* rgb */ color: rgb(23, 60, 142);
/* oklch */ color: oklch(38.4% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#173c8e',
    950: '#000000',
  },
}
SCSS
$custom: #173c8e;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173c8e",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 221.345,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.14274,
    "h": 263.1
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#173C8E
secondary
#C09940
accent
#B639EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #173C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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