#173377#173377

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

Color values

HEX#173377
RGBrgb(23, 51, 119)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(80.7%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.27, 16.37, -41.93)
CIE-LCHlch(23.27, 45.01, 291.32°)
OKLaboklab(34.44% -0.0125 -0.1209)
OKLCHoklch(34.44% 0.122 264.1)
XYZxyz(4.8658, 3.8812, 17.9419)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173377 #775B17
analogous
#176377 #173377 #2B1777
triadic
#173377 #771733 #337717
tetradic
#173377 #771763 #775B17 #17772B
square
#173377 #771763 #775B17 #17772B
split-complementary
#173377 #772B17 #637717
monochromatic
#050B1A #0D1D44 #173377 #2149AA #3162D7

Accessibility & contrast

On white

11.82
#173377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173377
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173377#FFFFFF#000000##FFFFFF
##1733771.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173377;
/* rgb */ color: rgb(23, 51, 119);
/* oklch */ color: oklch(34.4% 0.122 264.1);
Tailwind
colors: {
  custom: {
    50: '#656a9f',
    500: '#173377',
    950: '#000000',
  },
}
SCSS
$custom: #173377;
$custom-light: #656a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#173377",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 222.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34443,
    "c": 0.12157,
    "h": 264.1
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#173377
secondary
#AC8C3E
accent
#B83DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173377

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

Preview Lab → · Contrast checker → · Palette generator →

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