#173785#173785

#173785 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.137 H 263.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#173785
RGBrgb(23, 55, 133)
HSLhsl(223, 71%, 31%)
HSVhsv(223, 83%, 52%)
CMYKcmyk(82.7%, 58.6%, 0%, 47.8%)
CIE-LABlab(25.59, 19.30, -47.00)
CIE-LCHlch(25.59, 50.81, 292.33°)
OKLaboklab(36.55% -0.0144 -0.1357)
OKLCHoklch(36.55% 0.137 263.9)
XYZxyz(5.9517, 4.6073, 22.7614)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173785 #856517
analogous
#176E85 #173785 #2E1785
triadic
#173785 #851737 #378517
tetradic
#173785 #85176E #856517 #17852E
square
#173785 #85176E #856517 #17852E
split-complementary
#173785 #852E17 #6E8517
monochromatic
#050C1D #0E2151 #173785 #204DB9 #3A69DD

Accessibility & contrast

On white

10.93
#173785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173785
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173785#FFFFFF#000000##FFFFFF
##1737851.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173785;
/* rgb */ color: rgb(23, 55, 133);
/* oklch */ color: oklch(36.5% 0.137 263.9);
Tailwind
colors: {
  custom: {
    50: '#686da9',
    500: '#173785',
    950: '#000000',
  },
}
SCSS
$custom: #173785;
$custom-light: #686da9;
$custom-dark: #000000;
JSON
{
  "hex": "#173785",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 222.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.13651,
    "h": 263.9
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#173785
secondary
#B9953F
accent
#B93BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173785

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

Preview Lab → · Contrast checker → · Palette generator →

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