#173984#173984

#173984 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.132 H 263.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#173984
RGBrgb(23, 57, 132)
HSLhsl(221, 70%, 30%)
HSVhsv(221, 83%, 52%)
CMYKcmyk(82.6%, 56.8%, 0%, 48.2%)
CIE-LABlab(26.08, 17.48, -45.57)
CIE-LCHlch(26.08, 48.81, 290.99°)
OKLaboklab(36.89% -0.0159 -0.1315)
OKLCHoklch(36.89% 0.132 263.1)
XYZxyz(5.9798, 4.7736, 22.4316)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173984 #846217
analogous
#177084 #173984 #2B1784
triadic
#173984 #841739 #398417
tetradic
#173984 #841770 #846217 #17842B
square
#173984 #841770 #846217 #17842B
split-complementary
#173984 #842B17 #708417
monochromatic
#050C1C #0E2250 #173984 #2050B8 #396CDC

Accessibility & contrast

On white

10.74
#173984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173984
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173984#FFFFFF#000000##FFFFFF
##1739841.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173984;
/* rgb */ color: rgb(23, 57, 132);
/* oklch */ color: oklch(36.9% 0.132 263.1);
Tailwind
colors: {
  custom: {
    50: '#686ea8',
    500: '#173984',
    950: '#000000',
  },
}
SCSS
$custom: #173984;
$custom-light: #686ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#173984",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 221.284,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36894,
    "c": 0.13247,
    "h": 263.1
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#173984
secondary
#B8923F
accent
#B53BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173984

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

Preview Lab → · Contrast checker → · Palette generator →

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