#15215D#15215D

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

Color values

HEX#15215D
RGBrgb(21, 33, 93)
HSLhsl(230, 63%, 22%)
HSVhsv(230, 77%, 36%)
CMYKcmyk(77.4%, 64.5%, 0%, 63.5%)
CIE-LABlab(15.68, 18.38, -37.38)
CIE-LCHlch(15.68, 41.65, 296.19°)
OKLaboklab(28.02% -0.0011 -0.1079)
OKLCHoklch(28.02% 0.108 269.4)
XYZxyz(2.8282, 2.0372, 10.5980)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215D #5D5115
analogous
#15455D #15215D #2D155D
triadic
#15215D #5D1521 #215D15
tetradic
#15215D #5D1545 #5D5115 #155D2D
square
#15215D #5D1545 #5D5115 #155D2D
split-complementary
#15215D #5D2D15 #455D15
monochromatic
#060919 #0A0F2B #15215D #20338F #2C44C1

Accessibility & contrast

On white

14.92
#15215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15215D
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215D#FFFFFF#000000##FFFFFF
##15215D1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15215d;
/* rgb */ color: rgb(21, 33, 93);
/* oklch */ color: oklch(28.0% 0.108 269.4);
Tailwind
colors: {
  custom: {
    50: '#5e5c8b',
    500: '#15215d',
    950: '#000000',
  },
}
SCSS
$custom: #15215d;
$custom-light: #5e5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15215d",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 230,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28023,
    "c": 0.10789,
    "h": 269.4
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15215D

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

Preview Lab → · Contrast checker → · Palette generator →

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