#171280#171280

#171280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.171 H 271.1°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#171280
RGBrgb(23, 18, 128)
HSLhsl(243, 75%, 29%)
HSVhsv(243, 86%, 50%)
CMYKcmyk(82%, 85.9%, 0%, 49.8%)
CIE-LABlab(16.37, 40.88, -59.01)
CIE-LCHlch(16.37, 71.79, 304.72°)
OKLaboklab(29.71% 0.0032 -0.1708)
OKLCHoklch(29.71% 0.171 271.1)
XYZxyz(4.4646, 2.1728, 20.6020)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171280 #7B8012
analogous
#124480 #171280 #4E1280
triadic
#171280 #801712 #128017
tetradic
#171280 #801244 #7B8012 #12804E
square
#171280 #801244 #7B8012 #12804E
split-complementary
#171280 #804E12 #448012
monochromatic
#05041B #0D0A4A #171280 #211AB6 #332BE1

Accessibility & contrast

On white

14.64
#171280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171280
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171280#FFFFFF#000000##FFFFFF
##1712801.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.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: #171280;
/* rgb */ color: rgb(23, 18, 128);
/* oklch */ color: oklch(29.7% 0.171 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a54a6',
    500: '#171280',
    950: '#000000',
  },
}
SCSS
$custom: #171280;
$custom-light: #6a54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171280",
  "rgb": {
    "r": 23,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 242.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.17079,
    "h": 271.1
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#171280
secondary
#B0B638
accent
#F236E9
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171280

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

Preview Lab → · Contrast checker → · Palette generator →

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