#17135D#17135D

#17135D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.125 H 275.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#17135D
RGBrgb(23, 19, 93)
HSLhsl(243, 66%, 22%)
HSVhsv(243, 80%, 36%)
CMYKcmyk(75.3%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.21, 28.32, -43.07)
CIE-LCHlch(12.21, 51.54, 303.32°)
OKLaboklab(25.54% 0.0115 -0.1245)
OKLCHoklch(25.54% 0.125 275.3)
XYZxyz(2.5614, 1.4380, 10.4964)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17135D #595D13
analogous
#13345D #17135D #3C135D
triadic
#17135D #5D1713 #135D17
tetradic
#17135D #5D1334 #595D13 #135D3C
square
#17135D #5D1334 #595D13 #135D3C
split-complementary
#17135D #5D3C13 #345D13
monochromatic
#060519 #0A092A #17135D #241D90 #3028C3

Accessibility & contrast

On white

16.31
#17135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#17135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17135D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17135D#FFFFFF#000000##FFFFFF
##17135D1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17135d;
/* rgb */ color: rgb(23, 19, 93);
/* oklch */ color: oklch(25.5% 0.125 275.3);
Tailwind
colors: {
  custom: {
    50: '#61528c',
    500: '#17135d',
    950: '#000000',
  },
}
SCSS
$custom: #17135d;
$custom-light: #61528c;
$custom-dark: #000000;
JSON
{
  "hex": "#17135d",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 243.243,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25536,
    "c": 0.12505,
    "h": 275.3
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#17135D
secondary
#909537
accent
#E93FE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17135D

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

Preview Lab → · Contrast checker → · Palette generator →

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