#17155E#17155E

#17155E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.124 H 274.6°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#17155E
RGBrgb(23, 21, 94)
HSLhsl(242, 63%, 23%)
HSVhsv(242, 78%, 37%)
CMYKcmyk(75.5%, 77.7%, 0%, 63.1%)
CIE-LABlab(12.77, 27.42, -42.80)
CIE-LCHlch(12.77, 50.83, 302.64°)
OKLaboklab(25.97% 0.0101 -0.1238)
OKLCHoklch(25.97% 0.124 274.6)
XYZxyz(2.6412, 1.5264, 10.7429)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155E #5C5E15
analogous
#15375E #17155E #3C155E
triadic
#17155E #5E1715 #155E17
tetradic
#17155E #5E1537 #5C5E15 #155E3C
square
#17155E #5E1537 #5C5E15 #155E3C
split-complementary
#17155E #5E3C15 #375E15
monochromatic
#060619 #0B0A2C #17155E #232090 #2F2BC2

Accessibility & contrast

On white

16.09
#17155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#17155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17155E
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155E#FFFFFF#000000##FFFFFF
##17155E1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17155e;
/* rgb */ color: rgb(23, 21, 94);
/* oklch */ color: oklch(26.0% 0.124 274.6);
Tailwind
colors: {
  custom: {
    50: '#61538d',
    500: '#17155e',
    950: '#000000',
  },
}
SCSS
$custom: #17155e;
$custom-light: #61538d;
$custom-dark: #000000;
JSON
{
  "hex": "#17155e",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 241.644,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.25972,
    "c": 0.12418,
    "h": 274.6
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#17155E
secondary
#939539
accent
#E741E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17155E

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

Preview Lab → · Contrast checker → · Palette generator →

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