#172484#172484

#172484 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.159 H 268.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#172484
RGBrgb(23, 36, 132)
HSLhsl(233, 70%, 30%)
HSVhsv(233, 83%, 52%)
CMYKcmyk(82.6%, 72.7%, 0%, 48.2%)
CIE-LABlab(20.48, 31.95, -54.74)
CIE-LCHlch(20.48, 63.38, 300.27°)
OKLaboklab(32.75% -0.0035 -0.1586)
OKLCHoklch(32.75% 0.159 268.7)
XYZxyz(5.1476, 3.1093, 22.1542)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172484 #847717
analogous
#175A84 #172484 #401784
triadic
#172484 #841724 #248417
tetradic
#172484 #84175A #847717 #178440
square
#172484 #84175A #847717 #178440
split-complementary
#172484 #844017 #5A8417
monochromatic
#05081C #0E1650 #172484 #2032B8 #394CDC

Accessibility & contrast

On white

12.95
#172484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#172484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172484
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172484#FFFFFF#000000##FFFFFF
##1724841.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172484;
/* rgb */ color: rgb(23, 36, 132);
/* oklch */ color: oklch(32.7% 0.159 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a5fa9',
    500: '#172484',
    950: '#000000',
  },
}
SCSS
$custom: #172484;
$custom-light: #6a5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#172484",
  "rgb": {
    "r": 23,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 232.844,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.15863,
    "h": 268.7
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#172484
secondary
#B8AA3F
accent
#D83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172484

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

Preview Lab → · Contrast checker → · Palette generator →

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