#173277#173277

#173277 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.123 H 264.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#173277
RGBrgb(23, 50, 119)
HSLhsl(223, 68%, 28%)
HSVhsv(223, 81%, 47%)
CMYKcmyk(80.7%, 58%, 0%, 53.3%)
CIE-LABlab(22.98, 17.08, -42.41)
CIE-LCHlch(22.98, 45.72, 291.94°)
OKLaboklab(34.22% -0.0117 -0.1223)
OKLCHoklch(34.22% 0.123 264.5)
XYZxyz(4.8225, 3.7947, 17.9275)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173277 #775C17
analogous
#176277 #173277 #2C1777
triadic
#173277 #771732 #327717
tetradic
#173277 #771762 #775C17 #17772C
square
#173277 #771762 #775C17 #17772C
split-complementary
#173277 #772C17 #627717
monochromatic
#050B1A #0D1C44 #173277 #2148AA #3160D7

Accessibility & contrast

On white

11.94
#173277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173277
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173277#FFFFFF#000000##FFFFFF
##1732771.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173277;
/* rgb */ color: rgb(23, 50, 119);
/* oklch */ color: oklch(34.2% 0.123 264.5);
Tailwind
colors: {
  custom: {
    50: '#65699f',
    500: '#173277',
    950: '#000000',
  },
}
SCSS
$custom: #173277;
$custom-light: #65699f;
$custom-dark: #000000;
JSON
{
  "hex": "#173277",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 223.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.12291,
    "h": 264.5
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#173277
secondary
#AC8D3E
accent
#BA3DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #173277

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

Preview Lab → · Contrast checker → · Palette generator →

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