#171372#171372

#171372 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.153 H 272.4°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#171372
RGBrgb(23, 19, 114)
HSLhsl(243, 71%, 26%)
HSVhsv(243, 83%, 45%)
CMYKcmyk(79.8%, 83.3%, 0%, 55.3%)
CIE-LABlab(14.75, 35.73, -52.71)
CIE-LCHlch(14.75, 63.68, 304.13°)
OKLaboklab(28.07% 0.0064 -0.1525)
OKLCHoklch(28.07% 0.153 272.4)
XYZxyz(3.6225, 1.8624, 16.0849)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171372 #6E7213
analogous
#133E72 #171372 #461372
triadic
#171372 #721713 #137217
tetradic
#171372 #72133E #6E7213 #137246
square
#171372 #72133E #6E7213 #137246
split-complementary
#171372 #724613 #3E7213
monochromatic
#05041A #0C0A3E #171372 #221CA6 #2C25DB

Accessibility & contrast

On white

15.30
#171372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#171372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171372
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171372#FFFFFF#000000##FFFFFF
##1713721.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171372;
/* rgb */ color: rgb(23, 19, 114);
/* oklch */ color: oklch(28.1% 0.153 272.4);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#171372',
    950: '#000000',
  },
}
SCSS
$custom: #171372;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#171372",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 242.526,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28067,
    "c": 0.15268,
    "h": 272.4
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#171372
secondary
#A4A938
accent
#EE3AE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171372

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

Preview Lab → · Contrast checker → · Palette generator →

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