#171671#171671

#171671 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.149 H 272.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#171671
RGBrgb(23, 22, 113)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 81%, 44%)
CMYKcmyk(79.6%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.21, 33.69, -51.30)
CIE-LCHlch(15.21, 61.37, 303.30°)
OKLaboklab(28.36% 0.0056 -0.1485)
OKLCHoklch(28.36% 0.149 272.1)
XYZxyz(3.6199, 1.9478, 15.8048)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171671 #707116
analogous
#164371 #171671 #451671
triadic
#171671 #711716 #167117
tetradic
#171671 #711643 #707116 #167145
square
#171671 #711643 #707116 #167145
split-complementary
#171671 #714516 #437116
monochromatic
#05051A #0D0C3E #171671 #2120A4 #2D2CD6

Accessibility & contrast

On white

15.11
#171671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171671
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171671#FFFFFF#000000##FFFFFF
##1716711.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171671;
/* rgb */ color: rgb(23, 22, 113);
/* oklch */ color: oklch(28.4% 0.149 272.1);
Tailwind
colors: {
  custom: {
    50: '#66559b',
    500: '#171671',
    950: '#000000',
  },
}
SCSS
$custom: #171671;
$custom-light: #66559b;
$custom-dark: #000000;
JSON
{
  "hex": "#171671",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 240.659,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28355,
    "c": 0.14858,
    "h": 272.1
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#171671
secondary
#A6A73C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171671

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

Preview Lab → · Contrast checker → · Palette generator →

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