#17155B#17155B

#17155B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.120 H 275.1°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#17155B
RGBrgb(23, 21, 91)
HSLhsl(242, 63%, 22%)
HSVhsv(242, 77%, 36%)
CMYKcmyk(74.7%, 76.9%, 0%, 64.3%)
CIE-LABlab(12.44, 26.30, -41.35)
CIE-LCHlch(12.44, 49.00, 302.46°)
OKLaboklab(25.63% 0.0106 -0.1195)
OKLCHoklch(25.63% 0.12 275.1)
XYZxyz(2.5092, 1.4736, 10.0477)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155B #595B15
analogous
#15365B #17155B #3A155B
triadic
#17155B #5B1715 #155B17
tetradic
#17155B #5B1536 #595B15 #155B3A
square
#17155B #5B1536 #595B15 #155B3A
split-complementary
#17155B #5B3A15 #365B15
monochromatic
#060619 #0A0A29 #17155B #24208D #302CBE

Accessibility & contrast

On white

16.22
#17155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#17155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17155B
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155B#FFFFFF#000000##FFFFFF
##17155B1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17155b;
/* rgb */ color: rgb(23, 21, 91);
/* oklch */ color: oklch(25.6% 0.120 275.1);
Tailwind
colors: {
  custom: {
    50: '#60538a',
    500: '#17155b',
    950: '#000000',
  },
}
SCSS
$custom: #17155b;
$custom-light: #60538a;
$custom-dark: #000000;
JSON
{
  "hex": "#17155b",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 241.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25632,
    "c": 0.11998,
    "h": 275.1
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#17155B
secondary
#909239
accent
#E642E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17155B

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

Preview Lab → · Contrast checker → · Palette generator →

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