#171563#171563

#171563 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.131 H 274.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#171563
RGBrgb(23, 21, 99)
HSLhsl(242, 65%, 24%)
HSVhsv(242, 79%, 39%)
CMYKcmyk(76.8%, 78.8%, 0%, 61.2%)
CIE-LABlab(13.35, 29.26, -45.19)
CIE-LCHlch(13.35, 53.84, 302.92°)
OKLaboklab(26.55% 0.009 -0.1307)
OKLCHoklch(26.55% 0.131 274)
XYZxyz(2.8729, 1.6191, 11.9631)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171563 #616315
analogous
#153A63 #171563 #3E1563
triadic
#171563 #631715 #156317
tetradic
#171563 #63153A #616315 #15633E
square
#171563 #63153A #616315 #15633E
split-complementary
#171563 #633E15 #3A6315
monochromatic
#060519 #0B0A31 #171563 #232095 #2E2AC8

Accessibility & contrast

On white

15.86
#171563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171563
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171563#FFFFFF#000000##FFFFFF
##1715631.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171563;
/* rgb */ color: rgb(23, 21, 99);
/* oklch */ color: oklch(26.5% 0.131 274.0);
Tailwind
colors: {
  custom: {
    50: '#625390',
    500: '#171563',
    950: '#000000',
  },
}
SCSS
$custom: #171563;
$custom-light: #625390;
$custom-dark: #000000;
JSON
{
  "hex": "#171563",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 241.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26549,
    "c": 0.13104,
    "h": 274
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#171563
secondary
#989A3A
accent
#E840E4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171563

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

Preview Lab → · Contrast checker → · Palette generator →

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