#173379#173379

#173379 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.124 H 264.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#173379
RGBrgb(23, 51, 121)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(81%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.44, 17.20, -42.94)
CIE-LCHlch(23.44, 46.25, 291.82°)
OKLaboklab(34.62% -0.0123 -0.1239)
OKLCHoklch(34.62% 0.125 264.3)
XYZxyz(4.9871, 3.9297, 18.5811)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173379 #795D17
analogous
#176479 #173379 #2C1779
triadic
#173379 #791733 #337917
tetradic
#173379 #791764 #795D17 #17792C
square
#173379 #791764 #795D17 #17792C
split-complementary
#173379 #792C17 #647917
monochromatic
#050B1A #0D1D46 #173379 #2149AC #3262D8

Accessibility & contrast

On white

11.76
#173379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173379
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173379#FFFFFF#000000##FFFFFF
##1733791.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173379;
/* rgb */ color: rgb(23, 51, 121);
/* oklch */ color: oklch(34.6% 0.124 264.3);
Tailwind
colors: {
  custom: {
    50: '#656aa0',
    500: '#173379',
    950: '#000000',
  },
}
SCSS
$custom: #173379;
$custom-light: #656aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#173379",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 222.857,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.1245,
    "h": 264.3
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#173379
secondary
#AE8E3E
accent
#B93DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #173379

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

Preview Lab → · Contrast checker → · Palette generator →

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