#173086#173086

#173086 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.147 H 266.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#173086
RGBrgb(23, 48, 134)
HSLhsl(226, 71%, 31%)
HSVhsv(226, 83%, 53%)
CMYKcmyk(82.8%, 64.2%, 0%, 47.5%)
CIE-LABlab(23.73, 24.61, -50.66)
CIE-LCHlch(23.73, 56.32, 295.91°)
OKLaboklab(35.19% -0.0098 -0.1466)
OKLCHoklch(35.19% 0.147 266.2)
XYZxyz(5.7119, 4.0166, 23.0239)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173086 #866D17
analogous
#176786 #173086 #351786
triadic
#173086 #861730 #308617
tetradic
#173086 #861767 #866D17 #178635
square
#173086 #861767 #866D17 #178635
split-complementary
#173086 #863517 #678617
monochromatic
#050B1E #0E1D52 #173086 #2043BA #3A5FDD

Accessibility & contrast

On white

11.64
#173086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173086
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173086#FFFFFF#000000##FFFFFF
##1730861.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173086;
/* rgb */ color: rgb(23, 48, 134);
/* oklch */ color: oklch(35.2% 0.147 266.2);
Tailwind
colors: {
  custom: {
    50: '#6968aa',
    500: '#173086',
    950: '#000000',
  },
}
SCSS
$custom: #173086;
$custom-light: #6968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173086",
  "rgb": {
    "r": 23,
    "g": 48,
    "b": 134
  },
  "hsl": {
    "h": 226.486,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.14692,
    "h": 266.2
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#173086
secondary
#BA9E3F
accent
#C53AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173086

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

Preview Lab → · Contrast checker → · Palette generator →

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