#15116C#15116C

#15116C is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.147 H 272.3°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#15116C
RGBrgb(21, 17, 108)
HSLhsl(243, 73%, 25%)
HSVhsv(243, 84%, 42%)
CMYKcmyk(80.6%, 84.3%, 0%, 57.6%)
CIE-LABlab(13.49, 34.61, -50.90)
CIE-LCHlch(13.49, 61.55, 304.22°)
OKLaboklab(26.93% 0.006 -0.1473)
OKLCHoklch(26.93% 0.147 272.3)
XYZxyz(3.2156, 1.6427, 14.3321)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15116C #686C11
analogous
#113B6C #15116C #42116C
triadic
#15116C #6C1511 #116C15
tetradic
#15116C #6C113B #686C11 #116C42
square
#15116C #6C113B #686C11 #116C42
split-complementary
#15116C #6C4211 #3B6C11
monochromatic
#05041A #0B0937 #15116C #1F19A1 #2A22D6

Accessibility & contrast

On white

15.81
#15116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#15116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15116C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15116C#FFFFFF#000000##FFFFFF
##15116C1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#001E6A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #15116c;
/* rgb */ color: rgb(21, 17, 108);
/* oklch */ color: oklch(26.9% 0.147 272.3);
Tailwind
colors: {
  custom: {
    50: '#645197',
    500: '#15116c',
    950: '#000000',
  },
}
SCSS
$custom: #15116c;
$custom-light: #645197;
$custom-dark: #000000;
JSON
{
  "hex": "#15116c",
  "rgb": {
    "r": 21,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 242.637,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.26934,
    "c": 0.14741,
    "h": 272.3
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#15116C
secondary
#9FA435
accent
#EF38E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #15116C

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

Preview Lab → · Contrast checker → · Palette generator →

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