#171070#171070

#171070 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.153 H 273.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#171070
RGBrgb(23, 16, 112)
HSLhsl(244, 75%, 25%)
HSVhsv(244, 86%, 44%)
CMYKcmyk(79.5%, 85.7%, 0%, 56.1%)
CIE-LABlab(13.96, 36.63, -52.73)
CIE-LCHlch(13.96, 64.20, 304.79°)
OKLaboklab(27.44% 0.008 -0.1525)
OKLCHoklch(27.44% 0.153 273)
XYZxyz(3.4623, 1.7222, 15.4760)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171070 #697010
analogous
#103970 #171070 #471070
triadic
#171070 #701710 #107017
tetradic
#171070 #701039 #697010 #107047
square
#171070 #701039 #697010 #107047
split-complementary
#171070 #704710 #397010
monochromatic
#05041B #0C083A #171070 #2218A6 #2D1FDB

Accessibility & contrast

On white

15.62
#171070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171070
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171070#FFFFFF#000000##FFFFFF
##1710701.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171070;
/* rgb */ color: rgb(23, 16, 112);
/* oklch */ color: oklch(27.4% 0.153 273.0);
Tailwind
colors: {
  custom: {
    50: '#66519a',
    500: '#171070',
    950: '#000000',
  },
}
SCSS
$custom: #171070;
$custom-light: #66519a;
$custom-dark: #000000;
JSON
{
  "hex": "#171070",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 244.375,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27443,
    "c": 0.15274,
    "h": 273
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#171070
secondary
#9FA834
accent
#F236E4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171070

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

Preview Lab → · Contrast checker → · Palette generator →

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