#173388#173388

#173388 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.146 H 265.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#173388
RGBrgb(23, 51, 136)
HSLhsl(225, 71%, 31%)
HSVhsv(225, 83%, 53%)
CMYKcmyk(83.1%, 62.5%, 0%, 46.7%)
CIE-LABlab(24.72, 23.33, -50.28)
CIE-LCHlch(24.72, 55.43, 294.89°)
OKLaboklab(35.98% -0.0117 -0.1454)
OKLCHoklch(35.98% 0.146 265.4)
XYZxyz(5.9795, 4.3267, 23.8078)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173388 #886C17
analogous
#176B88 #173388 #331788
triadic
#173388 #881733 #338817
tetradic
#173388 #88176B #886C17 #178833
square
#173388 #88176B #886C17 #178833
split-complementary
#173388 #883317 #6B8817
monochromatic
#050C1F #0E1F54 #173388 #2047BC #3B64DE

Accessibility & contrast

On white

11.26
#173388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173388
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173388#FFFFFF#000000##FFFFFF
##1733881.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173388;
/* rgb */ color: rgb(23, 51, 136);
/* oklch */ color: oklch(36.0% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#696aab',
    500: '#173388',
    950: '#000000',
  },
}
SCSS
$custom: #173388;
$custom-light: #696aab;
$custom-dark: #000000;
JSON
{
  "hex": "#173388",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 225.133,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35982,
    "c": 0.1459,
    "h": 265.4
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#173388
secondary
#BC9D3F
accent
#C13AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173388

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

Preview Lab → · Contrast checker → · Palette generator →

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