#15216D#15216D

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

Color values

HEX#15216D
RGBrgb(21, 33, 109)
HSLhsl(232, 68%, 25%)
HSVhsv(232, 81%, 43%)
CMYKcmyk(80.7%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.23, 24.88, -45.37)
CIE-LCHlch(17.23, 51.74, 298.73°)
OKLaboklab(29.64% -0.0017 -0.1313)
OKLCHoklch(29.64% 0.131 269.2)
XYZxyz(3.6125, 2.3509, 14.7284)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216D #6D6115
analogous
#154D6D #15216D #35156D
triadic
#15216D #6D1521 #216D15
tetradic
#15216D #6D154D #6D6115 #156D35
square
#15216D #6D154D #6D6115 #156D35
split-complementary
#15216D #6D3515 #4D6D15
monochromatic
#05081A #0B113A #15216D #1F31A0 #2940D4

Accessibility & contrast

On white

14.28
#15216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15216D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216D#FFFFFF#000000##FFFFFF
##15216D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15216d;
/* rgb */ color: rgb(21, 33, 109);
/* oklch */ color: oklch(29.6% 0.131 269.2);
Tailwind
colors: {
  custom: {
    50: '#635c98',
    500: '#15216d',
    950: '#000000',
  },
}
SCSS
$custom: #15216d;
$custom-light: #635c98;
$custom-dark: #000000;
JSON
{
  "hex": "#15216d",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 231.818,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29641,
    "c": 0.13132,
    "h": 269.2
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#15216D
secondary
#A3953A
accent
#D33DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15216D

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

Preview Lab → · Contrast checker → · Palette generator →

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