#172085#172085

#172085 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.164 H 269.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#172085
RGBrgb(23, 32, 133)
HSLhsl(235, 71%, 31%)
HSVhsv(235, 83%, 52%)
CMYKcmyk(82.7%, 75.9%, 0%, 47.8%)
CIE-LABlab(19.67, 34.86, -56.70)
CIE-LCHlch(19.67, 66.56, 301.58°)
OKLaboklab(32.2% -0.002 -0.1643)
OKLCHoklch(32.2% 0.164 269.3)
XYZxyz(5.1020, 2.9080, 22.4782)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172085 #857C17
analogous
#175785 #172085 #451785
triadic
#172085 #851720 #208517
tetradic
#172085 #851757 #857C17 #178545
square
#172085 #851757 #857C17 #178545
split-complementary
#172085 #854517 #578517
monochromatic
#05071D #0E1351 #172085 #202DB9 #3A47DD

Accessibility & contrast

On white

13.28
#172085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172085
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172085#FFFFFF#000000##FFFFFF
##1720851.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172085;
/* rgb */ color: rgb(23, 32, 133);
/* oklch */ color: oklch(32.2% 0.164 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a5caa',
    500: '#172085',
    950: '#000000',
  },
}
SCSS
$custom: #172085;
$custom-light: #6a5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#172085",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 235.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.16428,
    "h": 269.3
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#172085
secondary
#B9AF3F
accent
#DF3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #172085

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

Preview Lab → · Contrast checker → · Palette generator →

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