#17115F#17115F

#17115F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.130 H 275.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#17115F
RGBrgb(23, 17, 95)
HSLhsl(245, 70%, 22%)
HSVhsv(245, 82%, 37%)
CMYKcmyk(75.8%, 82.1%, 0%, 62.7%)
CIE-LABlab(12.02, 30.25, -44.72)
CIE-LCHlch(12.02, 53.99, 304.07°)
OKLaboklab(25.47% 0.0121 -0.1293)
OKLCHoklch(25.47% 0.13 275.4)
XYZxyz(2.6187, 1.4090, 10.9582)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17115F #595F11
analogous
#11325F #17115F #3E115F
triadic
#17115F #5F1711 #115F17
tetradic
#17115F #5F1132 #595F11 #115F3E
square
#17115F #5F1132 #595F11 #115F3E
split-complementary
#17115F #5F3E11 #325F11
monochromatic
#06051A #0A082B #17115F #241A93 #3024C7

Accessibility & contrast

On white

16.38
#17115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17115F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17115F#FFFFFF#000000##FFFFFF
##17115F1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17115f;
/* rgb */ color: rgb(23, 17, 95);
/* oklch */ color: oklch(25.5% 0.130 275.4);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#17115f',
    950: '#000000',
  },
}
SCSS
$custom: #17115f;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#17115f",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 244.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25471,
    "c": 0.12989,
    "h": 275.4
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#17115F
secondary
#909834
accent
#EC3BDF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17115F

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

Preview Lab → · Contrast checker → · Palette generator →

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