#172584#172584

#172584 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.158 H 268.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#172584
RGBrgb(23, 37, 132)
HSLhsl(232, 70%, 30%)
HSVhsv(232, 83%, 52%)
CMYKcmyk(82.6%, 72%, 0%, 48.2%)
CIE-LABlab(20.71, 31.30, -54.35)
CIE-LCHlch(20.71, 62.72, 299.93°)
OKLaboklab(32.92% -0.0039 -0.1574)
OKLCHoklch(32.92% 0.158 268.6)
XYZxyz(5.1783, 3.1706, 22.1644)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172584 #847617
analogous
#175B84 #172584 #401784
triadic
#172584 #841725 #258417
tetradic
#172584 #84175B #847617 #178440
square
#172584 #84175B #847617 #178440
split-complementary
#172584 #844017 #5B8417
monochromatic
#05081C #0E1650 #172584 #2034B8 #394EDC

Accessibility & contrast

On white

12.85
#172584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#172584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172584
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172584#FFFFFF#000000##FFFFFF
##1725841.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #172584;
/* rgb */ color: rgb(23, 37, 132);
/* oklch */ color: oklch(32.9% 0.158 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a60a9',
    500: '#172584',
    950: '#000000',
  },
}
SCSS
$custom: #172584;
$custom-light: #6a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#172584",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 232.294,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3292,
    "c": 0.1575,
    "h": 268.6
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#172584
secondary
#B8A93F
accent
#D63BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #172584

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

Preview Lab → · Contrast checker → · Palette generator →

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