#172684#172684

#172684 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.156 H 268.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#172684
RGBrgb(23, 38, 132)
HSLhsl(232, 70%, 30%)
HSVhsv(232, 83%, 52%)
CMYKcmyk(82.6%, 71.2%, 0%, 48.2%)
CIE-LABlab(20.96, 30.64, -53.95)
CIE-LCHlch(20.96, 62.04, 299.59°)
OKLaboklab(33.1% -0.0044 -0.1563)
OKLCHoklch(33.1% 0.156 268.4)
XYZxyz(5.2099, 3.2337, 22.1749)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172684 #847517
analogous
#175C84 #172684 #3E1784
triadic
#172684 #841726 #268417
tetradic
#172684 #84175C #847517 #17843E
square
#172684 #84175C #847517 #17843E
split-complementary
#172684 #843E17 #5C8417
monochromatic
#05081C #0E1750 #172684 #2035B8 #394FDC

Accessibility & contrast

On white

12.75
#172684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#172684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172684
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172684#FFFFFF#000000##FFFFFF
##1726841.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172684;
/* rgb */ color: rgb(23, 38, 132);
/* oklch */ color: oklch(33.1% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#6960a9',
    500: '#172684',
    950: '#000000',
  },
}
SCSS
$custom: #172684;
$custom-light: #6960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#172684",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 231.743,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33095,
    "c": 0.15635,
    "h": 268.4
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#172684
secondary
#B8A73F
accent
#D53BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #172684

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

Preview Lab → · Contrast checker → · Palette generator →

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