#17135C#17135C

#17135C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.124 H 275.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#17135C
RGBrgb(23, 19, 92)
HSLhsl(243, 66%, 22%)
HSVhsv(243, 79%, 36%)
CMYKcmyk(75%, 79.3%, 0%, 63.9%)
CIE-LABlab(12.09, 27.95, -42.59)
CIE-LCHlch(12.09, 50.94, 303.28°)
OKLaboklab(25.42% 0.0117 -0.1231)
OKLCHoklch(25.42% 0.124 275.4)
XYZxyz(2.5174, 1.4204, 10.2646)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17135C #585C13
analogous
#13345C #17135C #3C135C
triadic
#17135C #5C1713 #135C17
tetradic
#17135C #5C1334 #585C13 #135C3C
square
#17135C #5C1334 #585C13 #135C3C
split-complementary
#17135C #5C3C13 #345C13
monochromatic
#060519 #0A0929 #17135C #241D8F #3028C1

Accessibility & contrast

On white

16.35
#17135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#17135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17135C
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17135C#FFFFFF#000000##FFFFFF
##17135C1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17135c;
/* rgb */ color: rgb(23, 19, 92);
/* oklch */ color: oklch(25.4% 0.124 275.4);
Tailwind
colors: {
  custom: {
    50: '#60528b',
    500: '#17135c',
    950: '#000000',
  },
}
SCSS
$custom: #17135c;
$custom-light: #60528b;
$custom-dark: #000000;
JSON
{
  "hex": "#17135c",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 243.288,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25419,
    "c": 0.12368,
    "h": 275.4
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#17135C
secondary
#8F9437
accent
#E93FDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17135C

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

Preview Lab → · Contrast checker → · Palette generator →

#17135C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva