#15115C#15115C

#15115C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 274.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#15115C
RGBrgb(21, 17, 92)
HSLhsl(243, 69%, 21%)
HSVhsv(243, 82%, 36%)
CMYKcmyk(77.2%, 81.5%, 0%, 63.9%)
CIE-LABlab(11.50, 28.97, -43.57)
CIE-LCHlch(11.50, 52.32, 303.62°)
OKLaboklab(24.96% 0.01 -0.126)
OKLCHoklch(24.96% 0.126 274.5)
XYZxyz(2.4408, 1.3328, 10.2518)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115C #585C11
analogous
#11335C #15115C #3B115C
triadic
#15115C #5C1511 #115C15
tetradic
#15115C #5C1133 #585C11 #115C3B
square
#15115C #5C1133 #585C11 #115C3B
split-complementary
#15115C #5C3B11 #335C11
monochromatic
#06051A #090728 #15115C #211B90 #2D24C3

Accessibility & contrast

On white

16.58
#15115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15115C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115C#FFFFFF#000000##FFFFFF
##15115C1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #15115c;
/* rgb */ color: rgb(21, 17, 92);
/* oklch */ color: oklch(25.0% 0.126 274.5);
Tailwind
colors: {
  custom: {
    50: '#60508b',
    500: '#15115c',
    950: '#000000',
  },
}
SCSS
$custom: #15115c;
$custom-light: #60508b;
$custom-dark: #000000;
JSON
{
  "hex": "#15115c",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 243.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24962,
    "c": 0.12641,
    "h": 274.5
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#15115C
secondary
#909534
accent
#EC3CE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15115C

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

Preview Lab → · Contrast checker → · Palette generator →

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