#17165E#17165E

#17165E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.1% C 0.123 H 274.4°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#17165E
RGBrgb(23, 22, 94)
HSLhsl(241, 62%, 23%)
HSVhsv(241, 77%, 37%)
CMYKcmyk(75.5%, 76.6%, 0%, 63.1%)
CIE-LABlab(13.01, 26.77, -42.42)
CIE-LCHlch(13.01, 50.16, 302.25°)
OKLaboklab(26.14% 0.0094 -0.1226)
OKLCHoklch(26.14% 0.123 274.4)
XYZxyz(2.6600, 1.5639, 10.7492)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17165E #5D5E16
analogous
#16395E #17165E #3B165E
triadic
#17165E #5E1716 #165E17
tetradic
#17165E #5E1639 #5D5E16 #165E3B
square
#17165E #5E1639 #5D5E16 #165E3B
split-complementary
#17165E #5E3B16 #395E16
monochromatic
#060619 #0B0A2C #17165E #232290 #2F2DC1

Accessibility & contrast

On white

16.00
#17165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17165E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17165E#FFFFFF#000000##FFFFFF
##17165E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17165e;
/* rgb */ color: rgb(23, 22, 94);
/* oklch */ color: oklch(26.1% 0.123 274.4);
Tailwind
colors: {
  custom: {
    50: '#61548c',
    500: '#17165e',
    950: '#000000',
  },
}
SCSS
$custom: #17165e;
$custom-light: #61548c;
$custom-dark: #000000;
JSON
{
  "hex": "#17165e",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 240.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26139,
    "c": 0.12301,
    "h": 274.4
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17165E

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

Preview Lab → · Contrast checker → · Palette generator →

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