#171568#171568

#171568 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.138 H 273.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#171568
RGBrgb(23, 21, 104)
HSLhsl(241, 66%, 25%)
HSVhsv(241, 80%, 41%)
CMYKcmyk(77.9%, 79.8%, 0%, 59.2%)
CIE-LABlab(13.93, 31.08, -47.53)
CIE-LCHlch(13.93, 56.79, 303.18°)
OKLaboklab(27.14% 0.008 -0.1375)
OKLCHoklch(27.14% 0.138 273.3)
XYZxyz(3.1194, 1.7176, 13.2612)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171568 #666815
analogous
#153D68 #171568 #411568
triadic
#171568 #681715 #156817
tetradic
#171568 #68153D #666815 #156841
square
#171568 #68153D #666815 #156841
split-complementary
#171568 #684115 #3D6815
monochromatic
#060519 #0C0B35 #171568 #221F9B #2E2ACE

Accessibility & contrast

On white

15.63
#171568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171568
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171568#FFFFFF#000000##FFFFFF
##1715681.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171568;
/* rgb */ color: rgb(23, 21, 104);
/* oklch */ color: oklch(27.1% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#635494',
    500: '#171568',
    950: '#000000',
  },
}
SCSS
$custom: #171568;
$custom-light: #635494;
$custom-dark: #000000;
JSON
{
  "hex": "#171568",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 241.446,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27136,
    "c": 0.13777,
    "h": 273.3
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#171568
secondary
#9C9F3A
accent
#E93EE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171568

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

Preview Lab → · Contrast checker → · Palette generator →

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