#15213A#15213A

#15213A is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.1% C 0.051 H 263.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#15213A
RGBrgb(21, 33, 58)
HSLhsl(221, 47%, 15%)
HSVhsv(221, 64%, 23%)
CMYKcmyk(63.8%, 43.1%, 0%, 77.3%)
CIE-LABlab(12.94, 3.85, -17.77)
CIE-LCHlch(12.94, 18.18, 282.23°)
OKLaboklab(25.07% -0.0055 -0.0503)
OKLCHoklch(25.07% 0.051 263.7)
XYZxyz(1.6166, 1.5525, 4.2166)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15213A #3A2E15
analogous
#15333A #15213A #1C153A
triadic
#15213A #3A1521 #213A15
tetradic
#15213A #3A1533 #3A2E15 #153A1C
square
#15213A #3A1533 #3A2E15 #153A1C
split-complementary
#15213A #3A1C15 #333A15
monochromatic
#080D16 #080D16 #15213A #253B67 #365494

Accessibility & contrast

On white

16.02
#15213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#15213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15213A
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15213A#FFFFFF#000000##FFFFFF
##15213A1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#122039
Tritanopia (blue-blind)
#02262A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #15213a;
/* rgb */ color: rgb(21, 33, 58);
/* oklch */ color: oklch(25.1% 0.051 263.7);
Tailwind
colors: {
  custom: {
    50: '#565b70',
    500: '#15213a',
    950: '#000000',
  },
}
SCSS
$custom: #15213a;
$custom-light: #565b70;
$custom-dark: #000000;
JSON
{
  "hex": "#15213a",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 220.541,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25071,
    "c": 0.05059,
    "h": 263.7
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#15213A
secondary
#715F39
accent
#AB51D6
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #15213A

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

Preview Lab → · Contrast checker → · Palette generator →

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