#173186#173186

#173186 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.146 H 265.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#173186
RGBrgb(23, 49, 134)
HSLhsl(226, 71%, 31%)
HSVhsv(226, 83%, 53%)
CMYKcmyk(82.8%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.00, 23.92, -50.22)
CIE-LCHlch(24.00, 55.62, 295.47°)
OKLaboklab(35.39% -0.0104 -0.1453)
OKLCHoklch(35.39% 0.146 265.9)
XYZxyz(5.7532, 4.0993, 23.0377)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173186 #866C17
analogous
#176886 #173186 #341786
triadic
#173186 #861731 #318617
tetradic
#173186 #861768 #866C17 #178634
square
#173186 #861768 #866C17 #178634
split-complementary
#173186 #863417 #688617
monochromatic
#050B1E #0E1E52 #173186 #2044BA #3A60DD

Accessibility & contrast

On white

11.54
#173186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173186
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173186#FFFFFF#000000##FFFFFF
##1731861.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173186;
/* rgb */ color: rgb(23, 49, 134);
/* oklch */ color: oklch(35.4% 0.146 265.9);
Tailwind
colors: {
  custom: {
    50: '#6968aa',
    500: '#173186',
    950: '#000000',
  },
}
SCSS
$custom: #173186;
$custom-light: #6968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173186",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 225.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.14566,
    "h": 265.9
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#173186
secondary
#BA9D3F
accent
#C43AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173186

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

Preview Lab → · Contrast checker → · Palette generator →

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