#17155D#17155D

#17155D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.123 H 274.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#17155D
RGBrgb(23, 21, 93)
HSLhsl(242, 63%, 22%)
HSVhsv(242, 77%, 36%)
CMYKcmyk(75.3%, 77.4%, 0%, 63.5%)
CIE-LABlab(12.66, 27.04, -42.32)
CIE-LCHlch(12.66, 50.22, 302.58°)
OKLaboklab(25.86% 0.0103 -0.1223)
OKLCHoklch(25.86% 0.123 274.8)
XYZxyz(2.5966, 1.5086, 10.5081)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155D #5B5D15
analogous
#15375D #17155D #3B155D
triadic
#17155D #5D1715 #155D17
tetradic
#17155D #5D1537 #5B5D15 #155D3B
square
#17155D #5D1537 #5B5D15 #155D3B
split-complementary
#17155D #5D3B15 #375D15
monochromatic
#060619 #0B0A2B #17155D #23208F #302CC1

Accessibility & contrast

On white

16.13
#17155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#17155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17155D
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155D#FFFFFF#000000##FFFFFF
##17155D1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17155d;
/* rgb */ color: rgb(23, 21, 93);
/* oklch */ color: oklch(25.9% 0.123 274.8);
Tailwind
colors: {
  custom: {
    50: '#60538c',
    500: '#17155d',
    950: '#000000',
  },
}
SCSS
$custom: #17155d;
$custom-light: #60538c;
$custom-dark: #000000;
JSON
{
  "hex": "#17155d",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 241.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25858,
    "c": 0.12278,
    "h": 274.8
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#17155D
secondary
#929439
accent
#E642E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17155D

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

Preview Lab → · Contrast checker → · Palette generator →

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