#173886#173886

#173886 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.137 H 263.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#173886
RGBrgb(23, 56, 134)
HSLhsl(222, 71%, 31%)
HSVhsv(222, 83%, 53%)
CMYKcmyk(82.8%, 58.2%, 0%, 47.5%)
CIE-LABlab(25.95, 19.01, -47.02)
CIE-LCHlch(25.95, 50.72, 292.01°)
OKLaboklab(36.85% -0.015 -0.1358)
OKLCHoklch(36.85% 0.137 263.7)
XYZxyz(6.0691, 4.7310, 23.1429)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173886 #866517
analogous
#176F86 #173886 #2D1786
triadic
#173886 #861738 #388617
tetradic
#173886 #86176F #866517 #17862D
square
#173886 #86176F #866517 #17862D
split-complementary
#173886 #862D17 #6F8617
monochromatic
#050C1E #0E2252 #173886 #204EBA #3A6BDD

Accessibility & contrast

On white

10.79
#173886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173886
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173886#FFFFFF#000000##FFFFFF
##1738861.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173886;
/* rgb */ color: rgb(23, 56, 134);
/* oklch */ color: oklch(36.9% 0.137 263.7);
Tailwind
colors: {
  custom: {
    50: '#686eaa',
    500: '#173886',
    950: '#000000',
  },
}
SCSS
$custom: #173886;
$custom-light: #686eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#173886",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 222.162,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.13663,
    "h": 263.7
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#173886
secondary
#BA953F
accent
#B83AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173886

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

Preview Lab → · Contrast checker → · Palette generator →

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