#15213D#15213D

#15213D is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.3% C 0.056 H 265.2°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#15213D
RGBrgb(21, 33, 61)
HSLhsl(222, 49%, 16%)
HSVhsv(222, 66%, 24%)
CMYKcmyk(65.6%, 45.9%, 0%, 76.1%)
CIE-LABlab(13.13, 5.07, -19.58)
CIE-LCHlch(13.13, 20.23, 284.50°)
OKLaboklab(25.29% -0.0047 -0.0556)
OKLCHoklch(25.29% 0.056 265.2)
XYZxyz(1.6951, 1.5839, 4.6304)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15213D #3D3115
analogous
#15353D #15213D #1D153D
triadic
#15213D #3D1521 #213D15
tetradic
#15213D #3D1535 #3D3115 #153D1D
square
#15213D #3D1535 #3D3115 #153D1D
split-complementary
#15213D #3D1D15 #353D15
monochromatic
#080C17 #080C17 #15213D #253A6B #345298

Accessibility & contrast

On white

15.95
#15213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15213D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15213D#FFFFFF#000000##FFFFFF
##15213D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #15213d;
/* rgb */ color: rgb(21, 33, 61);
/* oklch */ color: oklch(25.3% 0.056 265.2);
Tailwind
colors: {
  custom: {
    50: '#565b72',
    500: '#15213d',
    950: '#000000',
  },
}
SCSS
$custom: #15213d;
$custom-light: #565b72;
$custom-dark: #000000;
JSON
{
  "hex": "#15213d",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 222,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25285,
    "c": 0.05578,
    "h": 265.2
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#15213D
secondary
#756339
accent
#AF4FD8
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #15213D

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

Preview Lab → · Contrast checker → · Palette generator →

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