#173B8E#173B8E

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

Color values

HEX#173B8E
RGBrgb(23, 59, 142)
HSLhsl(222, 72%, 32%)
HSVhsv(222, 84%, 56%)
CMYKcmyk(83.8%, 58.5%, 0%, 44.3%)
CIE-LABlab(27.47, 20.18, -49.52)
CIE-LCHlch(27.47, 53.47, 292.17°)
OKLaboklab(38.2% -0.0165 -0.1431)
OKLCHoklch(38.2% 0.144 263.4)
XYZxyz(6.7981, 5.2623, 26.2434)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B8E #8E6A17
analogous
#17768E #173B8E #2F178E
triadic
#173B8E #8E173B #3B8E17
tetradic
#173B8E #8E1776 #8E6A17 #178E2F
square
#173B8E #8E1776 #8E6A17 #178E2F
split-complementary
#173B8E #8E2F17 #768E17
monochromatic
#060F25 #0E2559 #173B8E #2051C3 #3F70E0

Accessibility & contrast

On white

10.23
#173B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#173B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B8E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B8E#FFFFFF#000000##FFFFFF
##173B8E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173b8e;
/* rgb */ color: rgb(23, 59, 142);
/* oklch */ color: oklch(38.2% 0.144 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a70b0',
    500: '#173b8e',
    950: '#000000',
  },
}
SCSS
$custom: #173b8e;
$custom-light: #6a70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173b8e",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 221.849,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.14402,
    "h": 263.4
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#173B8E
secondary
#C09A40
accent
#B839EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #173B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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