#171490#171490

#171490 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.188 H 269.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#171490
RGBrgb(23, 20, 144)
HSLhsl(241, 76%, 32%)
HSVhsv(241, 86%, 56%)
CMYKcmyk(84%, 86.1%, 0%, 43.5%)
CIE-LABlab(18.78, 45.06, -65.07)
CIE-LCHlch(18.78, 79.14, 304.70°)
OKLaboklab(31.97% -0.001 -0.1883)
OKLCHoklch(31.97% 0.188 269.7)
XYZxyz(5.6358, 2.6954, 26.6034)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171490 #8D9014
analogous
#144F90 #171490 #551490
triadic
#171490 #901714 #149017
tetradic
#171490 #90144F #8D9014 #149055
square
#171490 #90144F #8D9014 #149055
split-complementary
#171490 #905514 #4F9014
monochromatic
#060525 #0E0D5A #171490 #201BC6 #3F3BE4

Accessibility & contrast

On white

13.64
#171490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#171490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171490
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171490#FFFFFF#000000##FFFFFF
##1714901.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #171490;
/* rgb */ color: rgb(23, 20, 144);
/* oklch */ color: oklch(32.0% 0.188 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f56b2',
    500: '#171490',
    950: '#000000',
  },
}
SCSS
$custom: #171490;
$custom-light: #6f56b2;
$custom-dark: #000000;
JSON
{
  "hex": "#171490",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 241.452,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.18832,
    "h": 269.7
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#171490
secondary
#C0C33D
accent
#F236EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #171490

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

Preview Lab → · Contrast checker → · Palette generator →

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