#17165D#17165D

#17165D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.122 H 274.5°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#17165D
RGBrgb(23, 22, 93)
HSLhsl(241, 62%, 23%)
HSVhsv(241, 76%, 36%)
CMYKcmyk(75.3%, 76.3%, 0%, 63.5%)
CIE-LABlab(12.90, 26.39, -41.93)
CIE-LCHlch(12.90, 49.55, 302.19°)
OKLaboklab(26.03% 0.0096 -0.1212)
OKLCHoklch(26.03% 0.122 274.5)
XYZxyz(2.6154, 1.5460, 10.5144)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17165D #5C5D16
analogous
#16395D #17165D #3A165D
triadic
#17165D #5D1716 #165D17
tetradic
#17165D #5D1639 #5C5D16 #165D3A
square
#17165D #5D1639 #5C5D16 #165D3A
split-complementary
#17165D #5D3A16 #395D16
monochromatic
#060619 #0B0A2C #17165D #23228E #2F2DC0

Accessibility & contrast

On white

16.04
#17165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#17165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17165D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17165D#FFFFFF#000000##FFFFFF
##17165D1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17165d;
/* rgb */ color: rgb(23, 22, 93);
/* oklch */ color: oklch(26.0% 0.122 274.5);
Tailwind
colors: {
  custom: {
    50: '#60548c',
    500: '#17165d',
    950: '#000000',
  },
}
SCSS
$custom: #17165d;
$custom-light: #60548c;
$custom-dark: #000000;
JSON
{
  "hex": "#17165d",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 240.845,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26027,
    "c": 0.12161,
    "h": 274.5
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#17165D
secondary
#93943B
accent
#E543E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17165D

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

Preview Lab → · Contrast checker → · Palette generator →

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