#15215F#15215F

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

Color values

HEX#15215F
RGBrgb(21, 33, 95)
HSLhsl(230, 64%, 23%)
HSVhsv(230, 78%, 37%)
CMYKcmyk(77.9%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.87, 19.21, -38.41)
CIE-LCHlch(15.87, 42.94, 296.57°)
OKLaboklab(28.22% -0.0011 -0.1109)
OKLCHoklch(28.22% 0.111 269.4)
XYZxyz(2.9180, 2.0731, 11.0706)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215F #5F5315
analogous
#15465F #15215F #2E155F
triadic
#15215F #5F1521 #215F15
tetradic
#15215F #5F1546 #5F5315 #155F2E
square
#15215F #5F1546 #5F5315 #155F2E
split-complementary
#15215F #5F2E15 #465F15
monochromatic
#060919 #0A102D #15215F #203291 #2B44C3

Accessibility & contrast

On white

14.85
#15215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15215F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215F#FFFFFF#000000##FFFFFF
##15215F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15215f;
/* rgb */ color: rgb(21, 33, 95);
/* oklch */ color: oklch(28.2% 0.111 269.4);
Tailwind
colors: {
  custom: {
    50: '#5f5c8d',
    500: '#15215f',
    950: '#000000',
  },
}
SCSS
$custom: #15215f;
$custom-light: #5f5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15215f",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 230.27,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28218,
    "c": 0.11091,
    "h": 269.4
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#15215F
secondary
#96873A
accent
#CC41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15215F

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

Preview Lab → · Contrast checker → · Palette generator →

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