#15115F#15115F

#15115F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.130 H 274.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#15115F
RGBrgb(21, 17, 95)
HSLhsl(243, 70%, 22%)
HSVhsv(243, 82%, 37%)
CMYKcmyk(77.9%, 82.1%, 0%, 62.7%)
CIE-LABlab(11.87, 30.05, -44.98)
CIE-LCHlch(11.87, 54.09, 303.75°)
OKLaboklab(25.32% 0.0093 -0.1301)
OKLCHoklch(25.32% 0.13 274.1)
XYZxyz(2.5746, 1.3863, 10.9562)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15115F #5B5F11
analogous
#11345F #15115F #3C115F
triadic
#15115F #5F1511 #115F15
tetradic
#15115F #5F1134 #5B5F11 #115F3C
square
#15115F #5F1134 #5B5F11 #115F3C
split-complementary
#15115F #5F3C11 #345F11
monochromatic
#06051A #0A082B #15115F #201A93 #2C24C7

Accessibility & contrast

On white

16.44
#15115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#15115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15115F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15115F#FFFFFF#000000##FFFFFF
##15115F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15115f;
/* rgb */ color: rgb(21, 17, 95);
/* oklch */ color: oklch(25.3% 0.130 274.1);
Tailwind
colors: {
  custom: {
    50: '#61508d',
    500: '#15115f',
    950: '#000000',
  },
}
SCSS
$custom: #15115f;
$custom-light: #61508d;
$custom-dark: #000000;
JSON
{
  "hex": "#15115f",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 243.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25325,
    "c": 0.13044,
    "h": 274.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#15115F
secondary
#929834
accent
#EC3BE3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #15115F

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

Preview Lab → · Contrast checker → · Palette generator →

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