#172084#172084

#172084 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.163 H 269.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#172084
RGBrgb(23, 32, 132)
HSLhsl(235, 70%, 30%)
HSVhsv(235, 83%, 52%)
CMYKcmyk(82.6%, 75.8%, 0%, 48.2%)
CIE-LABlab(19.56, 34.49, -56.26)
CIE-LCHlch(19.56, 65.99, 301.51°)
OKLaboklab(32.09% -0.0018 -0.163)
OKLCHoklch(32.09% 0.163 269.4)
XYZxyz(5.0333, 2.8805, 22.1160)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172084 #847B17
analogous
#175684 #172084 #441784
triadic
#172084 #841720 #208417
tetradic
#172084 #841756 #847B17 #178444
square
#172084 #841756 #847B17 #178444
split-complementary
#172084 #844417 #568417
monochromatic
#05071C #0E1350 #172084 #202DB8 #3946DC

Accessibility & contrast

On white

13.32
#172084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#172084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172084
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172084#FFFFFF#000000##FFFFFF
##1720841.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172084;
/* rgb */ color: rgb(23, 32, 132);
/* oklch */ color: oklch(32.1% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a5ca9',
    500: '#172084',
    950: '#000000',
  },
}
SCSS
$custom: #172084;
$custom-light: #6a5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#172084",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 235.046,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3209,
    "c": 0.16299,
    "h": 269.4
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#172084
secondary
#B8AE3F
accent
#DE3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172084

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

Preview Lab → · Contrast checker → · Palette generator →

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