#17165A#17165A

#17165A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.117 H 275.0°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#17165A
RGBrgb(23, 22, 90)
HSLhsl(241, 61%, 22%)
HSVhsv(241, 76%, 35%)
CMYKcmyk(74.4%, 75.6%, 0%, 64.7%)
CIE-LABlab(12.57, 25.26, -40.46)
CIE-LCHlch(12.57, 47.70, 301.98°)
OKLaboklab(25.69% 0.0101 -0.1169)
OKLCHoklch(25.69% 0.117 275)
XYZxyz(2.4851, 1.4939, 9.8283)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17165A #595A16
analogous
#16375A #17165A #39165A
triadic
#17165A #5A1716 #165A17
tetradic
#17165A #5A1637 #595A16 #165A39
square
#17165A #5A1637 #595A16 #165A39
split-complementary
#17165A #5A3916 #375A16
monochromatic
#060619 #0A0A29 #17165A #24228B #302EBC

Accessibility & contrast

On white

16.17
#17165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#17165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17165A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17165A#FFFFFF#000000##FFFFFF
##17165A1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17165a;
/* rgb */ color: rgb(23, 22, 90);
/* oklch */ color: oklch(25.7% 0.117 275.0);
Tailwind
colors: {
  custom: {
    50: '#5f5489',
    500: '#17165a',
    950: '#000000',
  },
}
SCSS
$custom: #17165a;
$custom-light: #5f5489;
$custom-dark: #000000;
JSON
{
  "hex": "#17165a",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 240.882,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25692,
    "c": 0.11736,
    "h": 275
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#17165A
secondary
#90913B
accent
#E444E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17165A

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

Preview Lab → · Contrast checker → · Palette generator →

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