#171574#171574

#171574 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.153 H 272.0°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#171574
RGBrgb(23, 21, 116)
HSLhsl(241, 69%, 27%)
HSVhsv(241, 82%, 45%)
CMYKcmyk(80.2%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.38, 35.32, -52.97)
CIE-LCHlch(15.38, 63.66, 303.69°)
OKLaboklab(28.58% 0.0053 -0.1533)
OKLCHoklch(28.58% 0.153 272)
XYZxyz(3.7728, 1.9790, 16.7028)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171574 #727415
analogous
#154374 #171574 #471574
triadic
#171574 #741715 #157417
tetradic
#171574 #741543 #727415 #157447
square
#171574 #741543 #727415 #157447
split-complementary
#171574 #744715 #437415
monochromatic
#05051A #0D0C40 #171574 #211EA8 #2E2BD9

Accessibility & contrast

On white

15.05
#171574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171574
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171574#FFFFFF#000000##FFFFFF
##1715741.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171574;
/* rgb */ color: rgb(23, 21, 116);
/* oklch */ color: oklch(28.6% 0.153 272.0);
Tailwind
colors: {
  custom: {
    50: '#67549d',
    500: '#171574',
    950: '#000000',
  },
}
SCSS
$custom: #171574;
$custom-light: #67549d;
$custom-dark: #000000;
JSON
{
  "hex": "#171574",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 241.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28578,
    "c": 0.1534,
    "h": 272
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#171574
secondary
#A8AA3B
accent
#EC3CE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171574

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

Preview Lab → · Contrast checker → · Palette generator →

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