#172184#172184

#172184 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.162 H 269.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#172184
RGBrgb(23, 33, 132)
HSLhsl(234, 70%, 30%)
HSVhsv(234, 83%, 52%)
CMYKcmyk(82.6%, 75%, 0%, 48.2%)
CIE-LABlab(19.78, 33.87, -55.89)
CIE-LCHlch(19.78, 65.35, 301.21°)
OKLaboklab(32.25% -0.0022 -0.1619)
OKLCHoklch(32.25% 0.162 269.2)
XYZxyz(5.0606, 2.9352, 22.1252)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172184 #847A17
analogous
#175884 #172184 #431784
triadic
#172184 #841721 #218417
tetradic
#172184 #841758 #847A17 #178443
square
#172184 #841758 #847A17 #178443
split-complementary
#172184 #844317 #588417
monochromatic
#05071C #0E1450 #172184 #202EB8 #3948DC

Accessibility & contrast

On white

13.23
#172184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172184
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172184#FFFFFF#000000##FFFFFF
##1721841.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172184;
/* rgb */ color: rgb(23, 33, 132);
/* oklch */ color: oklch(32.3% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#6a5da9',
    500: '#172184',
    950: '#000000',
  },
}
SCSS
$custom: #172184;
$custom-light: #6a5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#172184",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 234.495,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.16193,
    "h": 269.2
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#172184
secondary
#B8AD3F
accent
#DD3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #172184

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

Preview Lab → · Contrast checker → · Palette generator →

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