#172585#172585

#172585 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.159 H 268.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#172585
RGBrgb(23, 37, 133)
HSLhsl(232, 71%, 31%)
HSVhsv(232, 83%, 52%)
CMYKcmyk(82.7%, 72.2%, 0%, 47.8%)
CIE-LABlab(20.82, 31.68, -54.80)
CIE-LCHlch(20.82, 63.30, 300.03°)
OKLaboklab(33.03% -0.004 -0.1588)
OKLCHoklch(33.03% 0.159 268.5)
XYZxyz(5.2471, 3.1981, 22.5265)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172585 #857717
analogous
#175C85 #172585 #401785
triadic
#172585 #851725 #258517
tetradic
#172585 #85175C #857717 #178540
square
#172585 #85175C #857717 #178540
split-complementary
#172585 #854017 #5C8517
monochromatic
#05081D #0E1651 #172585 #2034B9 #3A4EDD

Accessibility & contrast

On white

12.81
#172585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#172585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172585
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172585#FFFFFF#000000##FFFFFF
##1725851.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172585;
/* rgb */ color: rgb(23, 37, 133);
/* oklch */ color: oklch(33.0% 0.159 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a60aa',
    500: '#172585',
    950: '#000000',
  },
}
SCSS
$custom: #172585;
$custom-light: #6a60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#172585",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 232.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33028,
    "c": 0.15882,
    "h": 268.5
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#172585
secondary
#B9A93F
accent
#D73BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #172585

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

Preview Lab → · Contrast checker → · Palette generator →

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