#17147E#17147E

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

Color values

HEX#17147E
RGBrgb(23, 20, 126)
HSLhsl(242, 73%, 29%)
HSVhsv(242, 84%, 49%)
CMYKcmyk(81.7%, 84.1%, 0%, 50.6%)
CIE-LABlab(16.45, 39.24, -57.61)
CIE-LCHlch(16.45, 69.71, 304.26°)
OKLaboklab(29.69% 0.0032 -0.1667)
OKLCHoklch(29.69% 0.167 271.1)
XYZxyz(4.3681, 2.1883, 19.9268)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17147E #7B7E14
analogous
#14467E #17147E #4C147E
triadic
#17147E #7E1714 #147E17
tetradic
#17147E #7E1446 #7B7E14 #147E4C
square
#17147E #7E1446 #7B7E14 #147E4C
split-complementary
#17147E #7E4C14 #467E14
monochromatic
#05041A #0D0C49 #17147E #211CB3 #332EDE

Accessibility & contrast

On white

14.61
#17147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17147E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17147E#FFFFFF#000000##FFFFFF
##17147E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17147e;
/* rgb */ color: rgb(23, 20, 126);
/* oklch */ color: oklch(29.7% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a55a5',
    500: '#17147e',
    950: '#000000',
  },
}
SCSS
$custom: #17147e;
$custom-light: #6a55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17147e",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 241.698,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29687,
    "c": 0.16678,
    "h": 271.1
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#17147E
secondary
#B0B33A
accent
#EF38EA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17147E

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

Preview Lab → · Contrast checker → · Palette generator →

#17147E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva