#17115A#17115A

#17115A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.123 H 276.3°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#17115A
RGBrgb(23, 17, 90)
HSLhsl(245, 68%, 21%)
HSVhsv(245, 81%, 35%)
CMYKcmyk(74.4%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.42, 28.46, -42.35)
CIE-LCHlch(11.42, 51.03, 303.91°)
OKLaboklab(24.88% 0.0134 -0.1224)
OKLCHoklch(24.88% 0.123 276.3)
XYZxyz(2.3987, 1.3210, 9.7995)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17115A #545A11
analogous
#112F5A #17115A #3B115A
triadic
#17115A #5A1711 #115A17
tetradic
#17115A #5A112F #545A11 #115A3B
square
#17115A #5A112F #545A11 #115A3B
split-complementary
#17115A #5A3B11 #2F5A11
monochromatic
#07051A #0A0727 #17115A #241B8D #3124C1

Accessibility & contrast

On white

16.61
#17115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#17115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17115A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17115A#FFFFFF#000000##FFFFFF
##17115A1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17115a;
/* rgb */ color: rgb(23, 17, 90);
/* oklch */ color: oklch(24.9% 0.123 276.3);
Tailwind
colors: {
  custom: {
    50: '#60508a',
    500: '#17115a',
    950: '#000000',
  },
}
SCSS
$custom: #17115a;
$custom-light: #60508a;
$custom-dark: #000000;
JSON
{
  "hex": "#17115a",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 244.932,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24875,
    "c": 0.12314,
    "h": 276.3
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#17115A
secondary
#8B9334
accent
#EB3DDD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17115A

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

Preview Lab → · Contrast checker → · Palette generator →

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