#17147D#17147D

#17147D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.166 H 271.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#17147D
RGBrgb(23, 20, 125)
HSLhsl(242, 72%, 28%)
HSVhsv(242, 84%, 49%)
CMYKcmyk(81.6%, 84%, 0%, 51%)
CIE-LABlab(16.32, 38.91, -57.18)
CIE-LCHlch(16.32, 69.16, 304.23°)
OKLaboklab(29.56% 0.0035 -0.1655)
OKLCHoklch(29.56% 0.166 271.2)
XYZxyz(4.3039, 2.1627, 19.5887)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17147D #7A7D14
analogous
#14457D #17147D #4B147D
triadic
#17147D #7D1714 #147D17
tetradic
#17147D #7D1445 #7A7D14 #147D4B
square
#17147D #7D1445 #7A7D14 #147D4B
split-complementary
#17147D #7D4B14 #457D14
monochromatic
#05041A #0D0C48 #17147D #211CB2 #332EDE

Accessibility & contrast

On white

14.66
#17147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17147D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17147D#FFFFFF#000000##FFFFFF
##17147D1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17147d;
/* rgb */ color: rgb(23, 20, 125);
/* oklch */ color: oklch(29.6% 0.166 271.2);
Tailwind
colors: {
  custom: {
    50: '#6955a4',
    500: '#17147d',
    950: '#000000',
  },
}
SCSS
$custom: #17147d;
$custom-light: #6955a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17147d",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 241.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29562,
    "c": 0.16555,
    "h": 271.2
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#17147D
secondary
#AFB23A
accent
#EF39EA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17147D

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

Preview Lab → · Contrast checker → · Palette generator →

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