#17149E#17149E

#17149E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.8% C 0.204 H 268.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#17149E
RGBrgb(23, 20, 158)
HSLhsl(241, 78%, 35%)
HSVhsv(241, 87%, 62%)
CMYKcmyk(85.4%, 87.3%, 0%, 38%)
CIE-LABlab(20.64, 49.38, -70.62)
CIE-LCHlch(20.64, 86.17, 304.96°)
OKLaboklab(33.77% -0.0042 -0.2044)
OKLCHoklch(33.77% 0.204 268.8)
XYZxyz(6.7730, 3.1503, 32.5922)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17149E #9B9E14
analogous
#14569E #17149E #5C149E
triadic
#17149E #9E1714 #149E17
tetradic
#17149E #9E1456 #9B9E14 #149E5C
square
#17149E #9E1456 #9B9E14 #149E5C
split-complementary
#17149E #9E5C14 #569E14
monochromatic
#070631 #0F0D68 #17149E #1F1BD4 #4845E7

Accessibility & contrast

On white

12.88
#17149E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#17149E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17149E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17149E#FFFFFF#000000##FFFFFF
##17149E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002A9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17149e;
/* rgb */ color: rgb(23, 20, 158);
/* oklch */ color: oklch(33.8% 0.204 268.8);
Tailwind
colors: {
  custom: {
    50: '#7258bc',
    500: '#17149e',
    950: '#000000',
  },
}
SCSS
$custom: #17149e;
$custom-light: #7258bc;
$custom-dark: #000000;
JSON
{
  "hex": "#17149e",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 158
  },
  "hsl": {
    "h": 241.304,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.2044,
    "h": 268.8
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#17149E
secondary
#C5C846
accent
#F434F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #17149E

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

Preview Lab → · Contrast checker → · Palette generator →

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