#17146E#17146E

#17146E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.147 H 272.8°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#17146E
RGBrgb(23, 20, 110)
HSLhsl(242, 69%, 25%)
HSVhsv(242, 82%, 43%)
CMYKcmyk(79.1%, 81.8%, 0%, 56.9%)
CIE-LABlab(14.45, 33.79, -50.61)
CIE-LCHlch(14.45, 60.86, 303.73°)
OKLaboklab(27.71% 0.007 -0.1465)
OKLCHoklch(27.71% 0.147 272.8)
XYZxyz(3.4170, 1.8079, 14.9177)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17146E #6B6E14
analogous
#143E6E #17146E #44146E
triadic
#17146E #6E1714 #146E17
tetradic
#17146E #6E143E #6B6E14 #146E44
square
#17146E #6E143E #6B6E14 #146E44
split-complementary
#17146E #6E4414 #3E6E14
monochromatic
#05051A #0C0B3A #17146E #221DA2 #2D27D6

Accessibility & contrast

On white

15.42
#17146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17146E
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17146E#FFFFFF#000000##FFFFFF
##17146E1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17146e;
/* rgb */ color: rgb(23, 20, 110);
/* oklch */ color: oklch(27.7% 0.147 272.8);
Tailwind
colors: {
  custom: {
    50: '#655399',
    500: '#17146e',
    950: '#000000',
  },
}
SCSS
$custom: #17146e;
$custom-light: #655399;
$custom-dark: #000000;
JSON
{
  "hex": "#17146e",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 242,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2771,
    "c": 0.14664,
    "h": 272.8
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#17146E
secondary
#A1A539
accent
#EC3CE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #17146E

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

Preview Lab → · Contrast checker → · Palette generator →

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