#173173#173173

#173173 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.118 H 264.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#173173
RGBrgb(23, 49, 115)
HSLhsl(223, 67%, 27%)
HSVhsv(223, 80%, 45%)
CMYKcmyk(80%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.36, 16.14, -40.87)
CIE-LCHlch(22.36, 43.94, 291.55°)
OKLaboklab(33.65% -0.0112 -0.1178)
OKLCHoklch(33.65% 0.118 264.6)
XYZxyz(4.5451, 3.6161, 16.6748)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173173 #735917
analogous
#175F73 #173173 #2B1773
triadic
#173173 #731731 #317317
tetradic
#173173 #73175F #735917 #17732B
square
#173173 #73175F #735917 #17732B
split-complementary
#173173 #732B17 #5F7317
monochromatic
#050B1A #0D1B40 #173173 #2147A6 #2F5ED5

Accessibility & contrast

On white

12.19
#173173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#173173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173173
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173173#FFFFFF#000000##FFFFFF
##1731731.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173173;
/* rgb */ color: rgb(23, 49, 115);
/* oklch */ color: oklch(33.6% 0.118 264.6);
Tailwind
colors: {
  custom: {
    50: '#64689c',
    500: '#173173',
    950: '#000000',
  },
}
SCSS
$custom: #173173;
$custom-light: #64689c;
$custom-dark: #000000;
JSON
{
  "hex": "#173173",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 223.043,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.11836,
    "h": 264.6
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#173173
secondary
#A98A3D
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173173

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

Preview Lab → · Contrast checker → · Palette generator →

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