#173170#173170

#173170 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.114 H 264.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#173170
RGBrgb(23, 49, 112)
HSLhsl(222, 66%, 26%)
HSVhsv(222, 79%, 44%)
CMYKcmyk(79.5%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.12, 14.90, -39.34)
CIE-LCHlch(22.12, 42.06, 290.74°)
OKLaboklab(33.39% -0.0115 -0.1133)
OKLCHoklch(33.39% 0.114 264.2)
XYZxyz(4.3753, 3.5481, 15.7804)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173170 #705617
analogous
#175E70 #173170 #2A1770
triadic
#173170 #701731 #317017
tetradic
#173170 #70175E #705617 #17702A
square
#173170 #70175E #705617 #17702A
split-complementary
#173170 #702A17 #5E7017
monochromatic
#050B19 #0D1B3D #173170 #2147A3 #2D5ED4

Accessibility & contrast

On white

12.28
#173170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173170
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173170#FFFFFF#000000##FFFFFF
##1731701.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173170;
/* rgb */ color: rgb(23, 49, 112);
/* oklch */ color: oklch(33.4% 0.114 264.2);
Tailwind
colors: {
  custom: {
    50: '#63689a',
    500: '#173170',
    950: '#000000',
  },
}
SCSS
$custom: #173170;
$custom-light: #63689a;
$custom-dark: #000000;
JSON
{
  "hex": "#173170",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 222.472,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3339,
    "c": 0.11391,
    "h": 264.2
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#173170
secondary
#A6873D
accent
#B73FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173170

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

Preview Lab → · Contrast checker → · Palette generator →

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