#15215C#15215C

#15215C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.106 H 269.4°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#15215C
RGBrgb(21, 33, 92)
HSLhsl(230, 63%, 22%)
HSVhsv(230, 77%, 36%)
CMYKcmyk(77.2%, 64.1%, 0%, 63.9%)
CIE-LABlab(15.59, 17.97, -36.86)
CIE-LCHlch(15.59, 41.01, 295.99°)
OKLaboklab(27.93% -0.0011 -0.1064)
OKLCHoklch(27.93% 0.106 269.4)
XYZxyz(2.7842, 2.0196, 10.3662)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215C #5C5015
analogous
#15455C #15215C #2D155C
triadic
#15215C #5C1521 #215C15
tetradic
#15215C #5C1545 #5C5015 #155C2D
square
#15215C #5C1545 #5C5015 #155C2D
split-complementary
#15215C #5C2D15 #455C15
monochromatic
#060919 #0A0F2A #15215C #20338E #2C45C0

Accessibility & contrast

On white

14.96
#15215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#15215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15215C
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215C#FFFFFF#000000##FFFFFF
##15215C1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15215c;
/* rgb */ color: rgb(21, 33, 92);
/* oklch */ color: oklch(27.9% 0.106 269.4);
Tailwind
colors: {
  custom: {
    50: '#5e5c8b',
    500: '#15215c',
    950: '#000000',
  },
}
SCSS
$custom: #15215c;
$custom-light: #5e5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15215c",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 229.859,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27926,
    "c": 0.10637,
    "h": 269.4
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#15215C
secondary
#938439
accent
#CA42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15215C

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

Preview Lab → · Contrast checker → · Palette generator →

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