#17155C#17155C

#17155C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.121 H 274.9°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#17155C
RGBrgb(23, 21, 92)
HSLhsl(242, 63%, 22%)
HSVhsv(242, 77%, 36%)
CMYKcmyk(75%, 77.2%, 0%, 63.9%)
CIE-LABlab(12.55, 26.67, -41.83)
CIE-LCHlch(12.55, 49.61, 302.52°)
OKLaboklab(25.75% 0.0104 -0.1209)
OKLCHoklch(25.75% 0.121 274.9)
XYZxyz(2.5526, 1.4910, 10.2764)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17155C #5A5C15
analogous
#15375C #17155C #3B155C
triadic
#17155C #5C1715 #155C17
tetradic
#17155C #5C1537 #5A5C15 #155C3B
square
#17155C #5C1537 #5A5C15 #155C3B
split-complementary
#17155C #5C3B15 #375C15
monochromatic
#060619 #0B0A2A #17155C #23208E #302CC0

Accessibility & contrast

On white

16.18
#17155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#17155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17155C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17155C#FFFFFF#000000##FFFFFF
##17155C1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17155c;
/* rgb */ color: rgb(23, 21, 92);
/* oklch */ color: oklch(25.7% 0.121 274.9);
Tailwind
colors: {
  custom: {
    50: '#60538b',
    500: '#17155c',
    950: '#000000',
  },
}
SCSS
$custom: #17155c;
$custom-light: #60538b;
$custom-dark: #000000;
JSON
{
  "hex": "#17155c",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 241.69,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25745,
    "c": 0.12138,
    "h": 274.9
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#17155C
secondary
#919339
accent
#E642E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #17155C

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

Preview Lab → · Contrast checker → · Palette generator →

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