#17148D#17148D

#17148D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.185 H 269.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#17148D
RGBrgb(23, 20, 141)
HSLhsl(241, 75%, 32%)
HSVhsv(241, 86%, 55%)
CMYKcmyk(83.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(18.39, 44.11, -63.85)
CIE-LCHlch(18.39, 77.61, 304.64°)
OKLaboklab(31.58% -0.0003 -0.1848)
OKLCHoklch(31.58% 0.185 269.9)
XYZxyz(5.4096, 2.6049, 25.4118)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17148D #8A8D14
analogous
#144E8D #17148D #54148D
triadic
#17148D #8D1714 #148D17
tetradic
#17148D #8D144E #8A8D14 #148D54
square
#17148D #8D144E #8A8D14 #148D54
split-complementary
#17148D #8D5414 #4E8D14
monochromatic
#060522 #0E0C57 #17148D #201CC3 #3D39E3

Accessibility & contrast

On white

13.80
#17148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#17148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17148D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17148D#FFFFFF#000000##FFFFFF
##17148D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17148d;
/* rgb */ color: rgb(23, 20, 141);
/* oklch */ color: oklch(31.6% 0.185 269.9);
Tailwind
colors: {
  custom: {
    50: '#6e56b0',
    500: '#17148d',
    950: '#000000',
  },
}
SCSS
$custom: #17148d;
$custom-light: #6e56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17148d",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 241.488,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.1848,
    "h": 269.9
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#17148D
secondary
#BEC13C
accent
#F236ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #17148D

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

Preview Lab → · Contrast checker → · Palette generator →

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