#173372#173372

#173372 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.114 H 263.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#173372
RGBrgb(23, 51, 114)
HSLhsl(222, 66%, 27%)
HSVhsv(222, 80%, 45%)
CMYKcmyk(79.8%, 55.3%, 0%, 55.3%)
CIE-LABlab(22.88, 14.29, -39.39)
CIE-LCHlch(22.88, 41.90, 289.94°)
OKLaboklab(34.02% -0.013 -0.1134)
OKLCHoklch(34.02% 0.114 263.5)
XYZxyz(4.5734, 3.7642, 16.4019)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173372 #725617
analogous
#176172 #173372 #281772
triadic
#173372 #721733 #337217
tetradic
#173372 #721761 #725617 #177228
square
#173372 #721761 #725617 #177228
split-complementary
#173372 #722817 #617217
monochromatic
#050B19 #0D1C3F #173372 #214AA5 #2E62D5

Accessibility & contrast

On white

11.98
#173372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173372
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173372#FFFFFF#000000##FFFFFF
##1733721.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173372;
/* rgb */ color: rgb(23, 51, 114);
/* oklch */ color: oklch(34.0% 0.114 263.5);
Tailwind
colors: {
  custom: {
    50: '#636a9b',
    500: '#173372',
    950: '#000000',
  },
}
SCSS
$custom: #173372;
$custom-light: #636a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#173372",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 221.538,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34015,
    "c": 0.11419,
    "h": 263.5
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#173372
secondary
#A8873D
accent
#B53EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173372

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

Preview Lab → · Contrast checker → · Palette generator →

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