#15156C#15156C

#15156C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.144 H 271.8°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#15156C
RGBrgb(21, 21, 108)
HSLhsl(240, 67%, 25%)
HSVhsv(240, 81%, 42%)
CMYKcmyk(80.6%, 80.6%, 0%, 57.6%)
CIE-LABlab(14.28, 32.34, -49.59)
CIE-LCHlch(14.28, 59.20, 303.11°)
OKLaboklab(27.49% 0.0045 -0.1435)
OKLCHoklch(27.49% 0.144 271.8)
XYZxyz(3.2833, 1.7781, 14.3546)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15156C #6C6C15
analogous
#15406C #15156C #40156C
triadic
#15156C #6C1515 #156C15
tetradic
#15156C #6C1540 #6C6C15 #156C40
square
#15156C #6C1540 #6C6C15 #156C40
split-complementary
#15156C #6C4015 #406C15
monochromatic
#05051A #0B0B39 #15156C #1F1F9F #2929D2

Accessibility & contrast

On white

15.49
#15156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15156C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15156C#FFFFFF#000000##FFFFFF
##15156C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15156c;
/* rgb */ color: rgb(21, 21, 108);
/* oklch */ color: oklch(27.5% 0.144 271.8);
Tailwind
colors: {
  custom: {
    50: '#645497',
    500: '#15156c',
    950: '#000000',
  },
}
SCSS
$custom: #15156c;
$custom-light: #645497;
$custom-dark: #000000;
JSON
{
  "hex": "#15156c",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 240,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27487,
    "c": 0.14362,
    "h": 271.8
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#15156C
secondary
#A3A33A
accent
#EA3DEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15156C

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

Preview Lab → · Contrast checker → · Palette generator →

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