#173376#173376

#173376 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.4% C 0.120 H 264.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#173376
RGBrgb(23, 51, 118)
HSLhsl(222, 67%, 28%)
HSVhsv(222, 81%, 46%)
CMYKcmyk(80.5%, 56.8%, 0%, 53.7%)
CIE-LABlab(23.19, 15.95, -41.43)
CIE-LCHlch(23.19, 44.39, 291.06°)
OKLaboklab(34.36% -0.0126 -0.1194)
OKLCHoklch(34.36% 0.12 264)
XYZxyz(4.8060, 3.8573, 17.6273)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173376 #765A17
analogous
#176276 #173376 #2B1776
triadic
#173376 #761733 #337617
tetradic
#173376 #761762 #765A17 #17762B
square
#173376 #761762 #765A17 #17762B
split-complementary
#173376 #762B17 #627617
monochromatic
#050B1A #0D1D43 #173376 #2149A9 #3162D7

Accessibility & contrast

On white

11.85
#173376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173376
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173376#FFFFFF#000000##FFFFFF
##1733761.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173376;
/* rgb */ color: rgb(23, 51, 118);
/* oklch */ color: oklch(34.4% 0.120 264.0);
Tailwind
colors: {
  custom: {
    50: '#646a9e',
    500: '#173376',
    950: '#000000',
  },
}
SCSS
$custom: #173376;
$custom-light: #646a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#173376",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 222.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.1201,
    "h": 264
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#173376
secondary
#AB8B3E
accent
#B73EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173376

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

Preview Lab → · Contrast checker → · Palette generator →

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