#173B8D#173B8D

#173B8D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.143 H 263.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#173B8D
RGBrgb(23, 59, 141)
HSLhsl(222, 72%, 32%)
HSVhsv(222, 84%, 55%)
CMYKcmyk(83.7%, 58.2%, 0%, 44.7%)
CIE-LABlab(27.39, 19.77, -49.04)
CIE-LCHlch(27.39, 52.87, 291.96°)
OKLaboklab(38.11% -0.0166 -0.1416)
OKLCHoklch(38.11% 0.143 263.3)
XYZxyz(6.7233, 5.2324, 25.8497)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B8D #8D6917
analogous
#17768D #173B8D #2E178D
triadic
#173B8D #8D173B #3B8D17
tetradic
#173B8D #8D1776 #8D6917 #178D2E
square
#173B8D #8D1776 #8D6917 #178D2E
split-complementary
#173B8D #8D2E17 #768D17
monochromatic
#060F24 #0E2558 #173B8D #2051C2 #3F70E0

Accessibility & contrast

On white

10.26
#173B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B8D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B8D#FFFFFF#000000##FFFFFF
##173B8D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173b8d;
/* rgb */ color: rgb(23, 59, 141);
/* oklch */ color: oklch(38.1% 0.143 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a70af',
    500: '#173b8d',
    950: '#000000',
  },
}
SCSS
$custom: #173b8d;
$custom-light: #6a70af;
$custom-dark: #000000;
JSON
{
  "hex": "#173b8d",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 221.695,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.14262,
    "h": 263.3
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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