#15156A#15156A

#15156A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.141 H 272.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#15156A
RGBrgb(21, 21, 106)
HSLhsl(240, 67%, 25%)
HSVhsv(240, 80%, 42%)
CMYKcmyk(80.2%, 80.2%, 0%, 58.4%)
CIE-LABlab(14.04, 31.62, -48.68)
CIE-LCHlch(14.04, 58.04, 303.00°)
OKLaboklab(27.25% 0.0049 -0.1409)
OKLCHoklch(27.25% 0.141 272)
XYZxyz(3.1781, 1.7360, 13.8005)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15156A #6A6A15
analogous
#15406A #15156A #40156A
triadic
#15156A #6A1515 #156A15
tetradic
#15156A #6A1540 #6A6A15 #156A40
square
#15156A #6A1540 #6A6A15 #156A40
split-complementary
#15156A #6A4015 #406A15
monochromatic
#05051A #0B0B37 #15156A #1F1F9D #2929D0

Accessibility & contrast

On white

15.59
#15156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#15156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15156A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15156A#FFFFFF#000000##FFFFFF
##15156A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#001F69
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15156a;
/* rgb */ color: rgb(21, 21, 106);
/* oklch */ color: oklch(27.2% 0.141 272.0);
Tailwind
colors: {
  custom: {
    50: '#635496',
    500: '#15156a',
    950: '#000000',
  },
}
SCSS
$custom: #15156a;
$custom-light: #635496;
$custom-dark: #000000;
JSON
{
  "hex": "#15156a",
  "rgb": {
    "r": 21,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27246,
    "c": 0.14099,
    "h": 272
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#15156A
secondary
#A1A13A
accent
#EA3EEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #15156A

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

Preview Lab → · Contrast checker → · Palette generator →

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