#15115B#15115B

#15115B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.125 H 274.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#15115B
RGBrgb(21, 17, 91)
HSLhsl(243, 69%, 21%)
HSVhsv(243, 81%, 36%)
CMYKcmyk(76.9%, 81.3%, 0%, 64.3%)
CIE-LABlab(11.38, 28.61, -43.09)
CIE-LCHlch(11.38, 51.72, 303.58°)
OKLaboklab(24.84% 0.0102 -0.1246)
OKLCHoklch(24.84% 0.125 274.7)
XYZxyz(2.3974, 1.3154, 10.0231)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115B #575B11
analogous
#11325B #15115B #3A115B
triadic
#15115B #5B1511 #115B15
tetradic
#15115B #5B1132 #575B11 #115B3A
square
#15115B #5B1132 #575B11 #115B3A
split-complementary
#15115B #5B3A11 #325B11
monochromatic
#06051A #090727 #15115B #211B8F #2D24C2

Accessibility & contrast

On white

16.62
#15115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15115B
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115B#FFFFFF#000000##FFFFFF
##15115B1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #15115b;
/* rgb */ color: rgb(21, 17, 91);
/* oklch */ color: oklch(24.8% 0.125 274.7);
Tailwind
colors: {
  custom: {
    50: '#5f508a',
    500: '#15115b',
    950: '#000000',
  },
}
SCSS
$custom: #15115b;
$custom-light: #5f508a;
$custom-dark: #000000;
JSON
{
  "hex": "#15115b",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 243.243,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.24842,
    "c": 0.12505,
    "h": 274.7
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#15115B
secondary
#8F9434
accent
#EB3CE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15115B

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

Preview Lab → · Contrast checker → · Palette generator →

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