#15115A#15115A

#15115A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.124 H 274.9°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#15115A
RGBrgb(21, 17, 90)
HSLhsl(243, 68%, 21%)
HSVhsv(243, 81%, 35%)
CMYKcmyk(76.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.26, 28.24, -42.62)
CIE-LCHlch(11.26, 51.12, 303.53°)
OKLaboklab(24.72% 0.0105 -0.1232)
OKLCHoklch(24.72% 0.124 274.9)
XYZxyz(2.3546, 1.2983, 9.7974)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115A #565A11
analogous
#11315A #15115A #39115A
triadic
#15115A #5A1511 #115A15
tetradic
#15115A #5A1131 #565A11 #115A39
square
#15115A #5A1131 #565A11 #115A39
split-complementary
#15115A #5A3911 #315A11
monochromatic
#06051A #090727 #15115A #211B8D #2D24C1

Accessibility & contrast

On white

16.67
#15115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#15115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15115A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115A#FFFFFF#000000##FFFFFF
##15115A1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #15115a;
/* rgb */ color: rgb(21, 17, 90);
/* oklch */ color: oklch(24.7% 0.124 274.9);
Tailwind
colors: {
  custom: {
    50: '#5f508a',
    500: '#15115a',
    950: '#000000',
  },
}
SCSS
$custom: #15115a;
$custom-light: #5f508a;
$custom-dark: #000000;
JSON
{
  "hex": "#15115a",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 243.288,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24723,
    "c": 0.12368,
    "h": 274.9
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#15115A
secondary
#8E9334
accent
#EB3DE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15115A

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

Preview Lab → · Contrast checker → · Palette generator →

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