#15115E#15115E

#15115E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.129 H 274.2°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#15115E
RGBrgb(21, 17, 94)
HSLhsl(243, 69%, 22%)
HSVhsv(243, 82%, 37%)
CMYKcmyk(77.7%, 81.9%, 0%, 63.1%)
CIE-LABlab(11.74, 29.69, -44.51)
CIE-LCHlch(11.74, 53.50, 303.70°)
OKLaboklab(25.2% 0.0095 -0.1287)
OKLCHoklch(25.2% 0.129 274.2)
XYZxyz(2.5294, 1.3682, 10.7183)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115E #5A5E11
analogous
#11345E #15115E #3C115E
triadic
#15115E #5E1511 #115E15
tetradic
#15115E #5E1134 #5A5E11 #115E3C
square
#15115E #5E1134 #5A5E11 #115E3C
split-complementary
#15115E #5E3C11 #345E11
monochromatic
#06051A #09082A #15115E #211A92 #2C24C6

Accessibility & contrast

On white

16.49
#15115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#15115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15115E
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115E#FFFFFF#000000##FFFFFF
##15115E1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #15115e;
/* rgb */ color: rgb(21, 17, 94);
/* oklch */ color: oklch(25.2% 0.129 274.2);
Tailwind
colors: {
  custom: {
    50: '#60508d',
    500: '#15115e',
    950: '#000000',
  },
}
SCSS
$custom: #15115e;
$custom-light: #60508d;
$custom-dark: #000000;
JSON
{
  "hex": "#15115e",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 243.117,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25204,
    "c": 0.1291,
    "h": 274.2
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#15115E
secondary
#929734
accent
#EC3CE3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #15115E

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

Preview Lab → · Contrast checker → · Palette generator →

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