#17155F#17155F

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

Color values

HEX#17155F
RGBrgb(23, 21, 95)
HSLhsl(242, 64%, 23%)
HSVhsv(242, 78%, 37%)
CMYKcmyk(75.8%, 77.9%, 0%, 62.7%)
CIE-LABlab(12.89, 27.79, -43.29)
CIE-LCHlch(12.89, 51.44, 302.70°)
OKLaboklab(26.09% 0.0099 -0.1252)
OKLCHoklch(26.09% 0.126 274.5)
XYZxyz(2.6864, 1.5445, 10.9808)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155F #5D5F15
analogous
#15385F #17155F #3C155F
triadic
#17155F #5F1715 #155F17
tetradic
#17155F #5F1538 #5D5F15 #155F3C
square
#17155F #5F1538 #5D5F15 #155F3C
split-complementary
#17155F #5F3C15 #385F15
monochromatic
#060619 #0B0A2D #17155F #232091 #2F2BC3

Accessibility & contrast

On white

16.04
#17155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#17155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17155F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155F#FFFFFF#000000##FFFFFF
##17155F1.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)
#002561
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17155f;
/* rgb */ color: rgb(23, 21, 95);
/* oklch */ color: oklch(26.1% 0.126 274.5);
Tailwind
colors: {
  custom: {
    50: '#61538d',
    500: '#17155f',
    950: '#000000',
  },
}
SCSS
$custom: #17155f;
$custom-light: #61538d;
$custom-dark: #000000;
JSON
{
  "hex": "#17155f",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 241.622,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26087,
    "c": 0.12556,
    "h": 274.5
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#17155F
secondary
#94963A
accent
#E741E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #17155F

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

Preview Lab → · Contrast checker → · Palette generator →

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