#17115D#17115D

#17115D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.127 H 275.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#17115D
RGBrgb(23, 17, 93)
HSLhsl(245, 69%, 22%)
HSVhsv(245, 82%, 36%)
CMYKcmyk(75.3%, 81.7%, 0%, 63.5%)
CIE-LABlab(11.78, 29.54, -43.78)
CIE-LCHlch(11.78, 52.81, 304.01°)
OKLaboklab(25.23% 0.0127 -0.1266)
OKLCHoklch(25.23% 0.127 275.7)
XYZxyz(2.5289, 1.3731, 10.4856)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17115D #575D11
analogous
#11315D #17115D #3D115D
triadic
#17115D #5D1711 #115D17
tetradic
#17115D #5D1131 #575D11 #115D3D
square
#17115D #5D1131 #575D11 #115D3D
split-complementary
#17115D #5D3D11 #315D11
monochromatic
#06051A #0A0829 #17115D #241A91 #3124C4

Accessibility & contrast

On white

16.48
#17115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#17115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17115D
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17115D#FFFFFF#000000##FFFFFF
##17115D1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17115d;
/* rgb */ color: rgb(23, 17, 93);
/* oklch */ color: oklch(25.2% 0.127 275.7);
Tailwind
colors: {
  custom: {
    50: '#61508c',
    500: '#17115d',
    950: '#000000',
  },
}
SCSS
$custom: #17115d;
$custom-light: #61508c;
$custom-dark: #000000;
JSON
{
  "hex": "#17115d",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 244.737,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25232,
    "c": 0.1272,
    "h": 275.7
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17115D

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

Preview Lab → · Contrast checker → · Palette generator →

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