#172185#172185

#172185 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.163 H 269.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#172185
RGBrgb(23, 33, 133)
HSLhsl(235, 71%, 31%)
HSVhsv(235, 83%, 52%)
CMYKcmyk(82.7%, 75.2%, 0%, 47.8%)
CIE-LABlab(19.89, 34.23, -56.33)
CIE-LCHlch(19.89, 65.92, 301.29°)
OKLaboklab(32.36% -0.0024 -0.1632)
OKLCHoklch(32.36% 0.163 269.2)
XYZxyz(5.1294, 2.9627, 22.4873)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172185 #857B17
analogous
#175885 #172185 #441785
triadic
#172185 #851721 #218517
tetradic
#172185 #851758 #857B17 #178544
square
#172185 #851758 #857B17 #178544
split-complementary
#172185 #854417 #588517
monochromatic
#05071D #0E1451 #172185 #202EB9 #3A48DD

Accessibility & contrast

On white

13.19
#172185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172185
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172185#FFFFFF#000000##FFFFFF
##1721851.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172185;
/* rgb */ color: rgb(23, 33, 133);
/* oklch */ color: oklch(32.4% 0.163 269.2);
Tailwind
colors: {
  custom: {
    50: '#6a5daa',
    500: '#172185',
    950: '#000000',
  },
}
SCSS
$custom: #172185;
$custom-light: #6a5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#172185",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 234.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.16323,
    "h": 269.2
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#172185
secondary
#B9AE3F
accent
#DD3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #172185

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

Preview Lab → · Contrast checker → · Palette generator →

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