#171668#171668

#171668 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.137 H 273.1°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#171668
RGBrgb(23, 22, 104)
HSLhsl(241, 65%, 25%)
HSVhsv(241, 79%, 41%)
CMYKcmyk(77.9%, 78.8%, 0%, 59.2%)
CIE-LABlab(14.15, 30.46, -47.18)
CIE-LCHlch(14.15, 56.16, 302.85°)
OKLaboklab(27.29% 0.0075 -0.1365)
OKLCHoklch(27.29% 0.137 273.1)
XYZxyz(3.1381, 1.7551, 13.2674)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171668 #676816
analogous
#163E68 #171668 #401668
triadic
#171668 #681716 #166817
tetradic
#171668 #68163E #676816 #166840
square
#171668 #68163E #676816 #166840
split-complementary
#171668 #684016 #3E6816
monochromatic
#060519 #0C0B35 #171668 #22219B #2D2BCD

Accessibility & contrast

On white

15.54
#171668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#171668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171668
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171668#FFFFFF#000000##FFFFFF
##1716681.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171668;
/* rgb */ color: rgb(23, 22, 104);
/* oklch */ color: oklch(27.3% 0.137 273.1);
Tailwind
colors: {
  custom: {
    50: '#635494',
    500: '#171668',
    950: '#000000',
  },
}
SCSS
$custom: #171668;
$custom-light: #635494;
$custom-dark: #000000;
JSON
{
  "hex": "#171668",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 240.732,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27289,
    "c": 0.13671,
    "h": 273.1
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#171668
secondary
#9D9F3B
accent
#E840E6
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171668

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

Preview Lab → · Contrast checker → · Palette generator →

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