#173382#173382

#173382 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.137 H 265.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#173382
RGBrgb(23, 51, 130)
HSLhsl(224, 70%, 30%)
HSVhsv(224, 82%, 51%)
CMYKcmyk(82.3%, 60.8%, 0%, 49%)
CIE-LABlab(24.20, 20.89, -47.38)
CIE-LCHlch(24.20, 51.79, 293.79°)
OKLaboklab(35.43% -0.0118 -0.1369)
OKLCHoklch(35.43% 0.137 265.1)
XYZxyz(5.5650, 4.1609, 21.6246)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173382 #826617
analogous
#176982 #173382 #301782
triadic
#173382 #821733 #338217
tetradic
#173382 #821769 #826617 #178230
square
#173382 #821769 #826617 #178230
split-complementary
#173382 #823017 #698217
monochromatic
#050A1A #0E1F4E #173382 #2047B6 #3863DC

Accessibility & contrast

On white

11.46
#173382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173382
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173382#FFFFFF#000000##FFFFFF
##1733821.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173382;
/* rgb */ color: rgb(23, 51, 130);
/* oklch */ color: oklch(35.4% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#686aa7',
    500: '#173382',
    950: '#000000',
  },
}
SCSS
$custom: #173382;
$custom-light: #686aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#173382",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 224.299,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.35425,
    "c": 0.13746,
    "h": 265.1
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#173382
secondary
#B6973E
accent
#BE3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #173382

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

Preview Lab → · Contrast checker → · Palette generator →

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