#173285#173285

#173285 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.143 H 265.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#173285
RGBrgb(23, 50, 133)
HSLhsl(225, 71%, 31%)
HSVhsv(225, 83%, 52%)
CMYKcmyk(82.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.18, 22.82, -49.29)
CIE-LCHlch(24.18, 54.31, 294.84°)
OKLaboklab(35.49% -0.0111 -0.1425)
OKLCHoklch(35.49% 0.143 265.6)
XYZxyz(5.7261, 4.1561, 22.6862)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173285 #856A17
analogous
#176985 #173285 #331785
triadic
#173285 #851732 #328517
tetradic
#173285 #851769 #856A17 #178533
square
#173285 #851769 #856A17 #178533
split-complementary
#173285 #853317 #698517
monochromatic
#050B1D #0E1E51 #173285 #2046B9 #3A62DD

Accessibility & contrast

On white

11.47
#173285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173285
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173285#FFFFFF#000000##FFFFFF
##1732851.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173285;
/* rgb */ color: rgb(23, 50, 133);
/* oklch */ color: oklch(35.5% 0.143 265.6);
Tailwind
colors: {
  custom: {
    50: '#6969a9',
    500: '#173285',
    950: '#000000',
  },
}
SCSS
$custom: #173285;
$custom-light: #6969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#173285",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 225.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35495,
    "c": 0.14298,
    "h": 265.6
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#173285
secondary
#B99B3F
accent
#C13BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173285

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

Preview Lab → · Contrast checker → · Palette generator →

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