#15216E#15216E

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

Color values

HEX#15216E
RGBrgb(21, 33, 110)
HSLhsl(232, 68%, 26%)
HSVhsv(232, 81%, 43%)
CMYKcmyk(80.9%, 70%, 0%, 56.9%)
CIE-LABlab(17.33, 25.27, -45.86)
CIE-LCHlch(17.33, 52.36, 298.86°)
OKLaboklab(29.75% -0.0018 -0.1327)
OKLCHoklch(29.75% 0.133 269.2)
XYZxyz(3.6666, 2.3725, 15.0135)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15216E #6E6215
analogous
#154D6E #15216E #35156E
triadic
#15216E #6E1521 #216E15
tetradic
#15216E #6E154D #6E6215 #156E35
square
#15216E #6E154D #6E6215 #156E35
split-complementary
#15216E #6E3515 #4D6E15
monochromatic
#05081A #0B123B #15216E #1F30A1 #2940D5

Accessibility & contrast

On white

14.24
#15216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15216E
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15216E#FFFFFF#000000##FFFFFF
##15216E1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15216e;
/* rgb */ color: rgb(21, 33, 110);
/* oklch */ color: oklch(29.7% 0.133 269.2);
Tailwind
colors: {
  custom: {
    50: '#635c98',
    500: '#15216e',
    950: '#000000',
  },
}
SCSS
$custom: #15216e;
$custom-light: #635c98;
$custom-dark: #000000;
JSON
{
  "hex": "#15216e",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 231.91,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29746,
    "c": 0.13273,
    "h": 269.2
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15216E

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

Preview Lab → · Contrast checker → · Palette generator →

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