#15115D#15115D

#15115D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.128 H 274.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#15115D
RGBrgb(21, 17, 93)
HSLhsl(243, 69%, 22%)
HSVhsv(243, 82%, 36%)
CMYKcmyk(77.4%, 81.7%, 0%, 63.5%)
CIE-LABlab(11.62, 29.33, -44.04)
CIE-LCHlch(11.62, 52.91, 303.66°)
OKLaboklab(25.08% 0.0098 -0.1274)
OKLCHoklch(25.08% 0.128 274.4)
XYZxyz(2.4848, 1.3504, 10.4835)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115D #595D11
analogous
#11335D #15115D #3B115D
triadic
#15115D #5D1511 #115D15
tetradic
#15115D #5D1133 #595D11 #115D3B
square
#15115D #5D1133 #595D11 #115D3B
split-complementary
#15115D #5D3B11 #335D11
monochromatic
#06051A #090829 #15115D #211A91 #2C24C4

Accessibility & contrast

On white

16.53
#15115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15115D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115D#FFFFFF#000000##FFFFFF
##15115D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001B5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #15115d;
/* rgb */ color: rgb(21, 17, 93);
/* oklch */ color: oklch(25.1% 0.128 274.4);
Tailwind
colors: {
  custom: {
    50: '#60508c',
    500: '#15115d',
    950: '#000000',
  },
}
SCSS
$custom: #15115d;
$custom-light: #60508c;
$custom-dark: #000000;
JSON
{
  "hex": "#15115d",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 243.158,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25083,
    "c": 0.12775,
    "h": 274.4
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#15115D
secondary
#919634
accent
#EC3CE3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #15115D

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

Preview Lab → · Contrast checker → · Palette generator →

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