#171570#171570

#171570 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.148 H 272.4°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#171570
RGBrgb(23, 21, 112)
HSLhsl(241, 68%, 26%)
HSVhsv(241, 81%, 44%)
CMYKcmyk(79.5%, 81.2%, 0%, 56.1%)
CIE-LABlab(14.89, 33.92, -51.18)
CIE-LCHlch(14.89, 61.40, 303.53°)
OKLaboklab(28.09% 0.0062 -0.1481)
OKLCHoklch(28.09% 0.148 272.4)
XYZxyz(3.5452, 1.8880, 15.5037)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171570 #6E7015
analogous
#154070 #171570 #441570
triadic
#171570 #701715 #157017
tetradic
#171570 #701540 #6E7015 #157044
square
#171570 #701540 #6E7015 #157044
split-complementary
#171570 #704415 #407015
monochromatic
#05051A #0C0B3C #171570 #221FA4 #2C29D7

Accessibility & contrast

On white

15.24
#171570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171570
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171570#FFFFFF#000000##FFFFFF
##1715701.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171570;
/* rgb */ color: rgb(23, 21, 112);
/* oklch */ color: oklch(28.1% 0.148 272.4);
Tailwind
colors: {
  custom: {
    50: '#66549a',
    500: '#171570',
    950: '#000000',
  },
}
SCSS
$custom: #171570;
$custom-light: #66549a;
$custom-dark: #000000;
JSON
{
  "hex": "#171570",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 241.319,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28093,
    "c": 0.14826,
    "h": 272.4
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#171570
secondary
#A4A63B
accent
#EB3DE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171570

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

Preview Lab → · Contrast checker → · Palette generator →

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