#17115E#17115E

#17115E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.129 H 275.5°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#17115E
RGBrgb(23, 17, 94)
HSLhsl(245, 69%, 22%)
HSVhsv(245, 82%, 37%)
CMYKcmyk(75.5%, 81.9%, 0%, 63.1%)
CIE-LABlab(11.90, 29.89, -44.25)
CIE-LCHlch(11.90, 53.40, 304.04°)
OKLaboklab(25.35% 0.0124 -0.1279)
OKLCHoklch(25.35% 0.129 275.5)
XYZxyz(2.5735, 1.3910, 10.7204)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17115E #585E11
analogous
#11325E #17115E #3E115E
triadic
#17115E #5E1711 #115E17
tetradic
#17115E #5E1132 #585E11 #115E3E
square
#17115E #5E1132 #585E11 #115E3E
split-complementary
#17115E #5E3E11 #325E11
monochromatic
#06051A #0A082A #17115E #241A92 #3024C6

Accessibility & contrast

On white

16.43
#17115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#17115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17115E
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17115E#FFFFFF#000000##FFFFFF
##17115E1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17115e;
/* rgb */ color: rgb(23, 17, 94);
/* oklch */ color: oklch(25.4% 0.129 275.5);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#17115e',
    950: '#000000',
  },
}
SCSS
$custom: #17115e;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#17115e",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 244.675,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25351,
    "c": 0.12855,
    "h": 275.5
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#17115E
secondary
#8F9734
accent
#EC3CDE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17115E

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

Preview Lab → · Contrast checker → · Palette generator →

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