#171EA0#171EA0

#171EA0 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.199 H 268.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#171EA0
RGBrgb(23, 30, 160)
HSLhsl(237, 75%, 36%)
HSVhsv(237, 86%, 63%)
CMYKcmyk(85.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(22.47, 45.35, -68.79)
CIE-LCHlch(22.47, 82.39, 303.39°)
OKLaboklab(35.11% -0.0059 -0.1993)
OKLCHoklch(35.11% 0.199 268.3)
XYZxyz(7.1606, 3.6479, 33.5776)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171EA0 #A09917
analogous
#1762A0 #171EA0 #5417A0
triadic
#171EA0 #A0171E #1EA017
tetradic
#171EA0 #A01762 #A09917 #17A054
square
#171EA0 #A01762 #A09917 #17A054
split-complementary
#171EA0 #A05417 #62A017
monochromatic
#080A35 #0F146A #171EA0 #1F28D6 #4C54E5

Accessibility & contrast

On white

12.14
#171EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#171EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171EA0
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171EA0#FFFFFF#000000##FFFFFF
##171EA01.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #171ea0;
/* rgb */ color: rgb(23, 30, 160);
/* oklch */ color: oklch(35.1% 0.199 268.3);
Tailwind
colors: {
  custom: {
    50: '#725dbe',
    500: '#171ea0',
    950: '#000000',
  },
}
SCSS
$custom: #171ea0;
$custom-light: #725dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#171ea0",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 236.934,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3511,
    "c": 0.19938,
    "h": 268.3
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#171EA0
secondary
#C7C14C
accent
#E836F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #171EA0

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

Preview Lab → · Contrast checker → · Palette generator →

#171EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva