#15216F#15216F

#15216F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.134 H 269.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#15216F
RGBrgb(21, 33, 111)
HSLhsl(232, 68%, 26%)
HSVhsv(232, 81%, 44%)
CMYKcmyk(81.1%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.43, 25.67, -46.34)
CIE-LCHlch(17.43, 52.97, 298.99°)
OKLaboklab(29.85% -0.0019 -0.1341)
OKLCHoklch(29.85% 0.134 269.2)
XYZxyz(3.7214, 2.3944, 15.3019)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216F #6F6315
analogous
#154E6F #15216F #36156F
triadic
#15216F #6F1521 #216F15
tetradic
#15216F #6F154E #6F6315 #156F36
square
#15216F #6F154E #6F6315 #156F36
split-complementary
#15216F #6F3615 #4E6F15
monochromatic
#05081A #0B123C #15216F #1F30A2 #2840D6

Accessibility & contrast

On white

14.20
#15216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#15216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15216F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216F#FFFFFF#000000##FFFFFF
##15216F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15216f;
/* rgb */ color: rgb(21, 33, 111);
/* oklch */ color: oklch(29.9% 0.134 269.2);
Tailwind
colors: {
  custom: {
    50: '#635c99',
    500: '#15216f',
    950: '#000000',
  },
}
SCSS
$custom: #15216f;
$custom-light: #635c99;
$custom-dark: #000000;
JSON
{
  "hex": "#15216f",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 232,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29851,
    "c": 0.13413,
    "h": 269.2
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#15216F
secondary
#A5973A
accent
#D43DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15216F

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

Preview Lab → · Contrast checker → · Palette generator →

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