#17165B#17165B

#17165B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.119 H 274.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#17165B
RGBrgb(23, 22, 91)
HSLhsl(241, 61%, 22%)
HSVhsv(241, 76%, 36%)
CMYKcmyk(74.7%, 75.8%, 0%, 64.3%)
CIE-LABlab(12.68, 25.64, -40.95)
CIE-LCHlch(12.68, 48.31, 302.05°)
OKLaboklab(25.8% 0.01 -0.1184)
OKLCHoklch(25.8% 0.119 274.8)
XYZxyz(2.5280, 1.5111, 10.0539)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17165B #5A5B16
analogous
#16375B #17165B #3A165B
triadic
#17165B #5B1716 #165B17
tetradic
#17165B #5B1637 #5A5B16 #165B3A
square
#17165B #5B1637 #5A5B16 #165B3A
split-complementary
#17165B #5B3A16 #375B16
monochromatic
#060619 #0B0A2A #17165B #23228C #302EBE

Accessibility & contrast

On white

16.13
#17165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17165B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17165B#FFFFFF#000000##FFFFFF
##17165B1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17165b;
/* rgb */ color: rgb(23, 22, 91);
/* oklch */ color: oklch(25.8% 0.119 274.8);
Tailwind
colors: {
  custom: {
    50: '#60548a',
    500: '#17165b',
    950: '#000000',
  },
}
SCSS
$custom: #17165b;
$custom-light: #60548a;
$custom-dark: #000000;
JSON
{
  "hex": "#17165b",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 240.87,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25803,
    "c": 0.11878,
    "h": 274.8
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#17165B
secondary
#91923B
accent
#E444E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17165B

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

Preview Lab → · Contrast checker → · Palette generator →

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