#171380#171380

#171380 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.170 H 271.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#171380
RGBrgb(23, 19, 128)
HSLhsl(242, 74%, 29%)
HSVhsv(242, 85%, 50%)
CMYKcmyk(82%, 85.2%, 0%, 49.8%)
CIE-LABlab(16.53, 40.40, -58.74)
CIE-LCHlch(16.53, 71.29, 304.52°)
OKLaboklab(29.82% 0.003 -0.17)
OKLCHoklch(29.82% 0.17 271)
XYZxyz(4.4812, 2.2059, 20.6075)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171380 #7C8013
analogous
#134680 #171380 #4E1380
triadic
#171380 #801713 #138017
tetradic
#171380 #801346 #7C8013 #13804E
square
#171380 #801346 #7C8013 #13804E
split-complementary
#171380 #804E13 #468013
monochromatic
#05041B #0D0B4B #171380 #211BB5 #342DE0

Accessibility & contrast

On white

14.57
#171380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#171380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171380
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171380#FFFFFF#000000##FFFFFF
##1713801.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171380;
/* rgb */ color: rgb(23, 19, 128);
/* oklch */ color: oklch(29.8% 0.170 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a54a6',
    500: '#171380',
    950: '#000000',
  },
}
SCSS
$custom: #171380;
$custom-light: #6a54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171380",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 242.202,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29821,
    "c": 0.17003,
    "h": 271
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#171380
secondary
#B1B539
accent
#F137EA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171380

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

Preview Lab → · Contrast checker → · Palette generator →

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