#17165F#17165F

#17165F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.3% C 0.124 H 274.3°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#17165F
RGBrgb(23, 22, 95)
HSLhsl(241, 62%, 23%)
HSVhsv(241, 77%, 37%)
CMYKcmyk(75.8%, 76.8%, 0%, 62.7%)
CIE-LABlab(13.12, 27.14, -42.91)
CIE-LCHlch(13.12, 50.77, 302.32°)
OKLaboklab(26.25% 0.0092 -0.1241)
OKLCHoklch(26.25% 0.124 274.3)
XYZxyz(2.7051, 1.5819, 10.9870)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17165F #5E5F16
analogous
#16395F #17165F #3B165F
triadic
#17165F #5F1716 #165F17
tetradic
#17165F #5F1639 #5E5F16 #165F3B
square
#17165F #5F1639 #5E5F16 #165F3B
split-complementary
#17165F #5F3B16 #395F16
monochromatic
#060619 #0B0A2D #17165F #232291 #2F2DC2

Accessibility & contrast

On white

15.95
#17165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#17165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17165F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17165F#FFFFFF#000000##FFFFFF
##17165F1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17165f;
/* rgb */ color: rgb(23, 22, 95);
/* oklch */ color: oklch(26.3% 0.124 274.3);
Tailwind
colors: {
  custom: {
    50: '#61548d',
    500: '#17165f',
    950: '#000000',
  },
}
SCSS
$custom: #17165f;
$custom-light: #61548d;
$custom-dark: #000000;
JSON
{
  "hex": "#17165f",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 240.822,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26252,
    "c": 0.1244,
    "h": 274.3
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#17165F
secondary
#95963B
accent
#E542E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17165F

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

Preview Lab → · Contrast checker → · Palette generator →

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