#173179#173179

#173179 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.127 H 265.1°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#173179
RGBrgb(23, 49, 121)
HSLhsl(224, 68%, 28%)
HSVhsv(224, 81%, 47%)
CMYKcmyk(81%, 59.5%, 0%, 52.5%)
CIE-LABlab(22.86, 18.62, -43.88)
CIE-LCHlch(22.86, 47.67, 292.99°)
OKLaboklab(34.18% -0.0108 -0.1267)
OKLCHoklch(34.18% 0.127 265.1)
XYZxyz(4.9016, 3.7587, 18.5526)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173179 #795F17
analogous
#176279 #173179 #2E1779
triadic
#173179 #791731 #317917
tetradic
#173179 #791762 #795F17 #17792E
square
#173179 #791762 #795F17 #17792E
split-complementary
#173179 #792E17 #627917
monochromatic
#050A1A #0D1C46 #173179 #2146AC #325ED8

Accessibility & contrast

On white

11.99
#173179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173179
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173179#FFFFFF#000000##FFFFFF
##1731791.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173179;
/* rgb */ color: rgb(23, 49, 121);
/* oklch */ color: oklch(34.2% 0.127 265.1);
Tailwind
colors: {
  custom: {
    50: '#6568a0',
    500: '#173179',
    950: '#000000',
  },
}
SCSS
$custom: #173179;
$custom-light: #6568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173179",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 224.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.12716,
    "h": 265.1
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#173179
secondary
#AE903E
accent
#BD3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #173179

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

Preview Lab → · Contrast checker → · Palette generator →

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