#173259#173259

#173259 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.077 H 257.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#173259
RGBrgb(23, 50, 89)
HSLhsl(215, 59%, 22%)
HSVhsv(215, 74%, 35%)
CMYKcmyk(74.2%, 43.8%, 0%, 65.1%)
CIE-LABlab(20.77, 4.58, -26.51)
CIE-LCHlch(20.77, 26.90, 279.80°)
OKLaboklab(31.82% -0.0164 -0.0756)
OKLCHoklch(31.82% 0.077 257.8)
XYZxyz(3.2965, 3.1843, 9.8902)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173259 #593E17
analogous
#175359 #173259 #1D1759
triadic
#173259 #591732 #325917
tetradic
#173259 #591753 #593E17 #17591D
square
#173259 #591753 #593E17 #17591D
split-complementary
#173259 #591D17 #535917
monochromatic
#060E18 #0A1728 #173259 #244D8A #3069BA

Accessibility & contrast

On white

12.83
#173259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#173259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173259
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173259#FFFFFF#000000##FFFFFF
##1732591.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173259;
/* rgb */ color: rgb(23, 50, 89);
/* oklch */ color: oklch(31.8% 0.077 257.8);
Tailwind
colors: {
  custom: {
    50: '#5d6988',
    500: '#173259',
    950: '#000000',
  },
}
SCSS
$custom: #173259;
$custom-light: #5d6988;
$custom-dark: #000000;
JSON
{
  "hex": "#173259",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 215.455,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.07736,
    "h": 257.8
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#173259
secondary
#906E3C
accent
#A246E2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #173259

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

Preview Lab → · Contrast checker → · Palette generator →

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