#171663#171663

#171663 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.130 H 273.7°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#171663
RGBrgb(23, 22, 99)
HSLhsl(241, 64%, 24%)
HSVhsv(241, 78%, 39%)
CMYKcmyk(76.8%, 77.8%, 0%, 61.2%)
CIE-LABlab(13.57, 28.63, -44.82)
CIE-LCHlch(13.57, 53.19, 302.57°)
OKLaboklab(26.71% 0.0085 -0.1297)
OKLCHoklch(26.71% 0.13 273.7)
XYZxyz(2.8916, 1.6565, 11.9693)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171663 #626316
analogous
#163B63 #171663 #3D1663
triadic
#171663 #631716 #166317
tetradic
#171663 #63163B #626316 #16633D
square
#171663 #63163B #626316 #16633D
split-complementary
#171663 #633D16 #3B6316
monochromatic
#060619 #0B0B31 #171663 #232195 #2E2CC7

Accessibility & contrast

On white

15.77
#171663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#171663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171663
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171663#FFFFFF#000000##FFFFFF
##1716631.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171663;
/* rgb */ color: rgb(23, 22, 99);
/* oklch */ color: oklch(26.7% 0.130 273.7);
Tailwind
colors: {
  custom: {
    50: '#625490',
    500: '#171663',
    950: '#000000',
  },
}
SCSS
$custom: #171663;
$custom-light: #625490;
$custom-dark: #000000;
JSON
{
  "hex": "#171663",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 240.779,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26709,
    "c": 0.12994,
    "h": 273.7
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#171663
secondary
#999A3B
accent
#E741E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #171663

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

Preview Lab → · Contrast checker → · Palette generator →

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