#15215E#15215E

#15215E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.109 H 269.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#15215E
RGBrgb(21, 33, 94)
HSLhsl(230, 63%, 23%)
HSVhsv(230, 78%, 37%)
CMYKcmyk(77.7%, 64.9%, 0%, 63.1%)
CIE-LABlab(15.77, 18.80, -37.89)
CIE-LCHlch(15.77, 42.30, 296.38°)
OKLaboklab(28.12% -0.0011 -0.1094)
OKLCHoklch(28.12% 0.109 269.4)
XYZxyz(2.8728, 2.0550, 10.8328)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215E #5E5215
analogous
#15455E #15215E #2E155E
triadic
#15215E #5E1521 #215E15
tetradic
#15215E #5E1545 #5E5215 #155E2E
square
#15215E #5E1545 #5E5215 #155E2E
split-complementary
#15215E #5E2E15 #455E15
monochromatic
#060919 #0A0F2C #15215E #203390 #2B44C2

Accessibility & contrast

On white

14.88
#15215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#15215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15215E
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215E#FFFFFF#000000##FFFFFF
##15215E1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15215e;
/* rgb */ color: rgb(21, 33, 94);
/* oklch */ color: oklch(28.1% 0.109 269.4);
Tailwind
colors: {
  custom: {
    50: '#5f5c8c',
    500: '#15215e',
    950: '#000000',
  },
}
SCSS
$custom: #15215e;
$custom-light: #5f5c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15215e",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 230.137,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2812,
    "c": 0.10941,
    "h": 269.4
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#15215E
secondary
#958639
accent
#CB41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15215E

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

Preview Lab → · Contrast checker → · Palette generator →

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