#15213F#15213F

#15213F is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.059 H 265.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#15213F
RGBrgb(21, 33, 63)
HSLhsl(223, 50%, 16%)
HSVhsv(223, 67%, 25%)
CMYKcmyk(66.7%, 47.6%, 0%, 75.3%)
CIE-LABlab(13.27, 5.88, -20.77)
CIE-LCHlch(13.27, 21.59, 285.81°)
OKLaboklab(25.43% -0.0042 -0.0591)
OKLCHoklch(25.43% 0.059 265.9)
XYZxyz(1.7500, 1.6059, 4.9194)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15213F #3F3315
analogous
#15363F #15213F #1E153F
triadic
#15213F #3F1521 #213F15
tetradic
#15213F #3F1536 #3F3315 #153F1E
square
#15213F #3F1536 #3F3315 #153F1E
split-complementary
#15213F #3F1E15 #363F15
monochromatic
#080C17 #080C17 #15213F #24396D #34519B

Accessibility & contrast

On white

15.89
#15213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#15213F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15213F
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15213F#FFFFFF#000000##FFFFFF
##15213F1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #15213f;
/* rgb */ color: rgb(21, 33, 63);
/* oklch */ color: oklch(25.4% 0.059 265.9);
Tailwind
colors: {
  custom: {
    50: '#575b74',
    500: '#15213f',
    950: '#000000',
  },
}
SCSS
$custom: #15213f;
$custom-light: #575b74;
$custom-dark: #000000;
JSON
{
  "hex": "#15213f",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 222.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25431,
    "c": 0.05923,
    "h": 265.9
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#15213F
secondary
#776539
accent
#B24EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #15213F

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

Preview Lab → · Contrast checker → · Palette generator →

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