#17148F#17148F

#17148F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.187 H 269.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#17148F
RGBrgb(23, 20, 143)
HSLhsl(241, 75%, 32%)
HSVhsv(241, 86%, 56%)
CMYKcmyk(83.9%, 86%, 0%, 43.9%)
CIE-LABlab(18.65, 44.74, -64.66)
CIE-LCHlch(18.65, 78.63, 304.68°)
OKLaboklab(31.84% -0.0008 -0.1871)
OKLCHoklch(31.84% 0.187 269.8)
XYZxyz(5.5597, 2.6650, 26.2026)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17148F #8C8F14
analogous
#144F8F #17148F #54148F
triadic
#17148F #8F1714 #148F17
tetradic
#17148F #8F144F #8C8F14 #148F54
square
#17148F #8F144F #8C8F14 #148F54
split-complementary
#17148F #8F5414 #4F8F14
monochromatic
#060524 #0E0C59 #17148F #201CC5 #3E3AE3

Accessibility & contrast

On white

13.70
#17148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#17148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17148F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17148F#FFFFFF#000000##FFFFFF
##17148F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #17148f;
/* rgb */ color: rgb(23, 20, 143);
/* oklch */ color: oklch(31.8% 0.187 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e56b1',
    500: '#17148f',
    950: '#000000',
  },
}
SCSS
$custom: #17148f;
$custom-light: #6e56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17148f",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 241.463,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31839,
    "c": 0.18715,
    "h": 269.8
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17148F

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

Preview Lab → · Contrast checker → · Palette generator →

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