#15216C#15216C

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

Color values

HEX#15216C
RGBrgb(21, 33, 108)
HSLhsl(232, 67%, 25%)
HSVhsv(232, 81%, 42%)
CMYKcmyk(80.6%, 69.4%, 0%, 57.6%)
CIE-LABlab(17.13, 24.48, -44.89)
CIE-LCHlch(17.13, 51.13, 298.60°)
OKLaboklab(29.54% -0.0017 -0.1299)
OKLCHoklch(29.54% 0.13 269.3)
XYZxyz(3.5590, 2.3295, 14.4465)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216C #6C6015
analogous
#154C6C #15216C #34156C
triadic
#15216C #6C1521 #216C15
tetradic
#15216C #6C154C #6C6015 #156C34
square
#15216C #6C154C #6C6015 #156C34
split-complementary
#15216C #6C3415 #4C6C15
monochromatic
#05081A #0B1139 #15216C #1F319F #2940D2

Accessibility & contrast

On white

14.32
#15216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#15216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15216C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216C#FFFFFF#000000##FFFFFF
##15216C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15216c;
/* rgb */ color: rgb(21, 33, 108);
/* oklch */ color: oklch(29.5% 0.130 269.3);
Tailwind
colors: {
  custom: {
    50: '#635c97',
    500: '#15216c',
    950: '#000000',
  },
}
SCSS
$custom: #15216c;
$custom-light: #635c97;
$custom-dark: #000000;
JSON
{
  "hex": "#15216c",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 231.724,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29536,
    "c": 0.1299,
    "h": 269.3
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#15216C
secondary
#A3943A
accent
#D23DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15216C

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

Preview Lab → · Contrast checker → · Palette generator →

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