#15216B#15216B

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

Color values

HEX#15216B
RGBrgb(21, 33, 107)
HSLhsl(232, 67%, 25%)
HSVhsv(232, 80%, 42%)
CMYKcmyk(80.4%, 69.2%, 0%, 58%)
CIE-LABlab(17.03, 24.08, -44.40)
CIE-LCHlch(17.03, 50.51, 298.47°)
OKLaboklab(29.43% -0.0016 -0.1285)
OKLCHoklch(29.43% 0.128 269.3)
XYZxyz(3.5060, 2.3083, 14.1678)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216B #6B5F15
analogous
#154C6B #15216B #34156B
triadic
#15216B #6B1521 #216B15
tetradic
#15216B #6B154C #6B5F15 #156B34
square
#15216B #6B154C #6B5F15 #156B34
split-complementary
#15216B #6B3415 #4C6B15
monochromatic
#05081A #0B1138 #15216B #1F319E #2941D1

Accessibility & contrast

On white

14.37
#15216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15216B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216B#FFFFFF#000000##FFFFFF
##15216B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15216b;
/* rgb */ color: rgb(21, 33, 107);
/* oklch */ color: oklch(29.4% 0.128 269.3);
Tailwind
colors: {
  custom: {
    50: '#625c96',
    500: '#15216b',
    950: '#000000',
  },
}
SCSS
$custom: #15216b;
$custom-light: #625c96;
$custom-dark: #000000;
JSON
{
  "hex": "#15216b",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 231.628,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29431,
    "c": 0.12848,
    "h": 269.3
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15216B

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

Preview Lab → · Contrast checker → · Palette generator →

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