#15216A#15216A

#15216A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.127 H 269.3°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#15216A
RGBrgb(21, 33, 106)
HSLhsl(232, 67%, 25%)
HSVhsv(232, 80%, 42%)
CMYKcmyk(80.2%, 68.9%, 0%, 58.4%)
CIE-LABlab(16.93, 23.68, -43.91)
CIE-LCHlch(16.93, 49.89, 298.33°)
OKLaboklab(29.33% -0.0015 -0.127)
OKLCHoklch(29.33% 0.127 269.3)
XYZxyz(3.4537, 2.2874, 13.8924)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216A #6A5E15
analogous
#154C6A #15216A #33156A
triadic
#15216A #6A1521 #216A15
tetradic
#15216A #6A154C #6A5E15 #156A33
square
#15216A #6A154C #6A5E15 #156A33
split-complementary
#15216A #6A3315 #4C6A15
monochromatic
#05081A #0B1137 #15216A #1F319D #2941D0

Accessibility & contrast

On white

14.41
#15216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#15216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15216A
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216A#FFFFFF#000000##FFFFFF
##15216A1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15216a;
/* rgb */ color: rgb(21, 33, 106);
/* oklch */ color: oklch(29.3% 0.127 269.3);
Tailwind
colors: {
  custom: {
    50: '#625c95',
    500: '#15216a',
    950: '#000000',
  },
}
SCSS
$custom: #15216a;
$custom-light: #625c95;
$custom-dark: #000000;
JSON
{
  "hex": "#15216a",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 231.529,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29328,
    "c": 0.12705,
    "h": 269.3
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#15216A
secondary
#A1923A
accent
#D23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15216A

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

Preview Lab → · Contrast checker → · Palette generator →

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