#17147F#17147F

#17147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.168 H 271.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#17147F
RGBrgb(23, 20, 127)
HSLhsl(242, 73%, 29%)
HSVhsv(242, 84%, 50%)
CMYKcmyk(81.9%, 84.3%, 0%, 50.2%)
CIE-LABlab(16.57, 39.57, -58.03)
CIE-LCHlch(16.57, 70.24, 304.29°)
OKLaboklab(29.81% 0.003 -0.168)
OKLCHoklch(29.81% 0.168 271)
XYZxyz(4.4330, 2.2143, 20.2683)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17147F #7C7F14
analogous
#14477F #17147F #4D147F
triadic
#17147F #7F1714 #147F17
tetradic
#17147F #7F1447 #7C7F14 #147F4D
square
#17147F #7F1447 #7C7F14 #147F4D
split-complementary
#17147F #7F4D14 #477F14
monochromatic
#05041A #0D0C4A #17147F #211CB4 #342FDE

Accessibility & contrast

On white

14.55
#17147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17147F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17147F#FFFFFF#000000##FFFFFF
##17147F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17147f;
/* rgb */ color: rgb(23, 20, 127);
/* oklch */ color: oklch(29.8% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a55a5',
    500: '#17147f',
    950: '#000000',
  },
}
SCSS
$custom: #17147f;
$custom-light: #6a55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17147f",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 241.682,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.16801,
    "h": 271
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17147F

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

Preview Lab → · Contrast checker → · Palette generator →

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