#15215B#15215B

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

Color values

HEX#15215B
RGBrgb(21, 33, 91)
HSLhsl(230, 63%, 22%)
HSVhsv(230, 77%, 36%)
CMYKcmyk(76.9%, 63.7%, 0%, 64.3%)
CIE-LABlab(15.50, 17.56, -36.34)
CIE-LCHlch(15.50, 40.36, 295.79°)
OKLaboklab(27.83% -0.0011 -0.1048)
OKLCHoklch(27.83% 0.105 269.4)
XYZxyz(2.7408, 2.0022, 10.1375)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215B #5B4F15
analogous
#15445B #15215B #2C155B
triadic
#15215B #5B1521 #215B15
tetradic
#15215B #5B1544 #5B4F15 #155B2C
square
#15215B #5B1544 #5B4F15 #155B2C
split-complementary
#15215B #5B2C15 #445B15
monochromatic
#060919 #0A0F29 #15215B #20338D #2C45BE

Accessibility & contrast

On white

15.00
#15215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15215B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215B#FFFFFF#000000##FFFFFF
##15215B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15215b;
/* rgb */ color: rgb(21, 33, 91);
/* oklch */ color: oklch(27.8% 0.105 269.4);
Tailwind
colors: {
  custom: {
    50: '#5e5c8a',
    500: '#15215b',
    950: '#000000',
  },
}
SCSS
$custom: #15215b;
$custom-light: #5e5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#15215b",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 229.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27831,
    "c": 0.10484,
    "h": 269.4
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15215B

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

Preview Lab → · Contrast checker → · Palette generator →

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