#173788#173788

#173788 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.141 H 264.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#173788
RGBrgb(23, 55, 136)
HSLhsl(223, 71%, 31%)
HSVhsv(223, 83%, 53%)
CMYKcmyk(83.1%, 59.6%, 0%, 46.7%)
CIE-LABlab(25.84, 20.53, -48.46)
CIE-LCHlch(25.84, 52.63, 292.96°)
OKLaboklab(36.81% -0.0142 -0.14)
OKLCHoklch(36.81% 0.141 264.2)
XYZxyz(6.1619, 4.6914, 23.8685)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173788 #886817
analogous
#176F88 #173788 #2F1788
triadic
#173788 #881737 #378817
tetradic
#173788 #88176F #886817 #17882F
square
#173788 #88176F #886817 #17882F
split-complementary
#173788 #882F17 #6F8817
monochromatic
#050D1F #0E2254 #173788 #204CBC #3B69DE

Accessibility & contrast

On white

10.83
#173788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173788
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173788#FFFFFF#000000##FFFFFF
##1737881.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173788;
/* rgb */ color: rgb(23, 55, 136);
/* oklch */ color: oklch(36.8% 0.141 264.2);
Tailwind
colors: {
  custom: {
    50: '#696dab',
    500: '#173788',
    950: '#000000',
  },
}
SCSS
$custom: #173788;
$custom-light: #696dab;
$custom-dark: #000000;
JSON
{
  "hex": "#173788",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 223.009,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.14076,
    "h": 264.2
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#173788
secondary
#BC983F
accent
#BB3AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173788

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

Preview Lab → · Contrast checker → · Palette generator →

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