#172580#172580

#172580 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.152 H 268.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#172580
RGBrgb(23, 37, 128)
HSLhsl(232, 70%, 30%)
HSVhsv(232, 82%, 50%)
CMYKcmyk(82%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.30, 29.77, -52.52)
CIE-LCHlch(20.30, 60.37, 299.55°)
OKLaboklab(32.49% -0.0035 -0.1521)
OKLCHoklch(32.49% 0.152 268.7)
XYZxyz(4.9099, 3.0632, 20.7504)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172580 #807217
analogous
#175A80 #172580 #3E1780
triadic
#172580 #801725 #258017
tetradic
#172580 #80175A #807217 #17803E
square
#172580 #80175A #807217 #17803E
split-complementary
#172580 #803E17 #5A8017
monochromatic
#05071A #0E164C #172580 #2034B4 #364CDB

Accessibility & contrast

On white

13.02
#172580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#172580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172580
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172580#FFFFFF#000000##FFFFFF
##1725801.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #172580;
/* rgb */ color: rgb(23, 37, 128);
/* oklch */ color: oklch(32.5% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#685fa6',
    500: '#172580',
    950: '#000000',
  },
}
SCSS
$custom: #172580;
$custom-light: #685fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#172580",
  "rgb": {
    "r": 23,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 232,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.15214,
    "h": 268.7
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#172580
secondary
#B4A53E
accent
#D53BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #172580

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

Preview Lab → · Contrast checker → · Palette generator →

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