#173288#173288

#173288 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.147 H 265.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#173288
RGBrgb(23, 50, 136)
HSLhsl(226, 71%, 31%)
HSVhsv(226, 83%, 53%)
CMYKcmyk(83.1%, 63.2%, 0%, 46.7%)
CIE-LABlab(24.45, 24.02, -50.72)
CIE-LCHlch(24.45, 56.13, 295.34°)
OKLaboklab(35.78% -0.0111 -0.1467)
OKLCHoklch(35.78% 0.147 265.7)
XYZxyz(5.9363, 4.2402, 23.7934)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173288 #886D17
analogous
#176A88 #173288 #341788
triadic
#173288 #881732 #328817
tetradic
#173288 #88176A #886D17 #178834
square
#173288 #88176A #886D17 #178834
split-complementary
#173288 #883417 #6A8817
monochromatic
#050C1F #0E1F54 #173288 #2045BC #3B62DE

Accessibility & contrast

On white

11.36
#173288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173288
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173288#FFFFFF#000000##FFFFFF
##1732881.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173288;
/* rgb */ color: rgb(23, 50, 136);
/* oklch */ color: oklch(35.8% 0.147 265.7);
Tailwind
colors: {
  custom: {
    50: '#6969ac',
    500: '#173288',
    950: '#000000',
  },
}
SCSS
$custom: #173288;
$custom-light: #6969ac;
$custom-dark: #000000;
JSON
{
  "hex": "#173288",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 225.664,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.14717,
    "h": 265.7
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#173288
secondary
#BC9E3F
accent
#C33AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173288

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

Preview Lab → · Contrast checker → · Palette generator →

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