#171470#171470

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

Color values

HEX#171470
RGBrgb(23, 20, 112)
HSLhsl(242, 70%, 26%)
HSVhsv(242, 82%, 44%)
CMYKcmyk(79.5%, 82.1%, 0%, 56.1%)
CIE-LABlab(14.69, 34.49, -51.51)
CIE-LCHlch(14.69, 61.99, 303.81°)
OKLaboklab(27.95% 0.0066 -0.1491)
OKLCHoklch(27.95% 0.149 272.5)
XYZxyz(3.5272, 1.8519, 15.4977)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171470 #6D7014
analogous
#143F70 #171470 #451470
triadic
#171470 #701714 #147017
tetradic
#171470 #70143F #6D7014 #147045
square
#171470 #70143F #6D7014 #147045
split-complementary
#171470 #704514 #3F7014
monochromatic
#05051A #0C0B3C #171470 #221DA4 #2C27D8

Accessibility & contrast

On white

15.32
#171470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#171470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171470
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171470#FFFFFF#000000##FFFFFF
##1714701.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171470;
/* rgb */ color: rgb(23, 20, 112);
/* oklch */ color: oklch(28.0% 0.149 272.5);
Tailwind
colors: {
  custom: {
    50: '#66549a',
    500: '#171470',
    950: '#000000',
  },
}
SCSS
$custom: #171470;
$custom-light: #66549a;
$custom-dark: #000000;
JSON
{
  "hex": "#171470",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 241.957,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27954,
    "c": 0.14921,
    "h": 272.5
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#171470
secondary
#A3A639
accent
#ED3BE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171470

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

Preview Lab → · Contrast checker → · Palette generator →

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