#15215A#15215A

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

Color values

HEX#15215A
RGBrgb(21, 33, 90)
HSLhsl(230, 62%, 22%)
HSVhsv(230, 77%, 35%)
CMYKcmyk(76.7%, 63.3%, 0%, 64.7%)
CIE-LABlab(15.41, 17.14, -35.82)
CIE-LCHlch(15.41, 39.71, 295.57°)
OKLaboklab(27.74% -0.0011 -0.1033)
OKLCHoklch(27.74% 0.103 269.4)
XYZxyz(2.6979, 1.9851, 9.9118)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15215A #5A4E15
analogous
#15445A #15215A #2C155A
triadic
#15215A #5A1521 #215A15
tetradic
#15215A #5A1544 #5A4E15 #155A2C
square
#15215A #5A1544 #5A4E15 #155A2C
split-complementary
#15215A #5A2C15 #445A15
monochromatic
#060919 #090F28 #15215A #21338C #2C45BD

Accessibility & contrast

On white

15.03
#15215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15215A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15215A#FFFFFF#000000##FFFFFF
##15215A1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15215a;
/* rgb */ color: rgb(21, 33, 90);
/* oklch */ color: oklch(27.7% 0.103 269.4);
Tailwind
colors: {
  custom: {
    50: '#5d5c89',
    500: '#15215a',
    950: '#000000',
  },
}
SCSS
$custom: #15215a;
$custom-light: #5d5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#15215a",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 229.565,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27735,
    "c": 0.10331,
    "h": 269.4
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#15215A
secondary
#928239
accent
#C943E5
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #15215A

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

Preview Lab → · Contrast checker → · Palette generator →

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