#17155A#17155A

#17155A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.119 H 275.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#17155A
RGBrgb(23, 21, 90)
HSLhsl(242, 62%, 22%)
HSVhsv(242, 77%, 35%)
CMYKcmyk(74.4%, 76.7%, 0%, 64.7%)
CIE-LABlab(12.33, 25.92, -40.86)
CIE-LCHlch(12.33, 48.39, 302.40°)
OKLaboklab(25.52% 0.0108 -0.1181)
OKLCHoklch(25.52% 0.119 275.2)
XYZxyz(2.4664, 1.4564, 9.8220)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155A #585A15
analogous
#15365A #17155A #3A155A
triadic
#17155A #5A1715 #155A17
tetradic
#17155A #5A1536 #585A15 #155A3A
square
#17155A #5A1536 #585A15 #155A3A
split-complementary
#17155A #5A3A15 #365A15
monochromatic
#060619 #0A0928 #17155A #24218C #302CBD

Accessibility & contrast

On white

16.26
#17155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17155A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155A#FFFFFF#000000##FFFFFF
##17155A1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #17155a;
/* rgb */ color: rgb(23, 21, 90);
/* oklch */ color: oklch(25.5% 0.119 275.2);
Tailwind
colors: {
  custom: {
    50: '#605389',
    500: '#17155a',
    950: '#000000',
  },
}
SCSS
$custom: #17155a;
$custom-light: #605389;
$custom-dark: #000000;
JSON
{
  "hex": "#17155a",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 241.739,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25519,
    "c": 0.11858,
    "h": 275.2
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#17155A
secondary
#8F9239
accent
#E543E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17155A

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

Preview Lab → · Contrast checker → · Palette generator →

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