#15213E#15213E

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

Color values

HEX#15213E
RGBrgb(21, 33, 62)
HSLhsl(222, 49%, 16%)
HSVhsv(222, 66%, 24%)
CMYKcmyk(66.1%, 46.8%, 0%, 75.7%)
CIE-LABlab(13.20, 5.47, -20.18)
CIE-LCHlch(13.20, 20.91, 285.18°)
OKLaboklab(25.36% -0.0045 -0.0573)
OKLCHoklch(25.36% 0.058 265.6)
XYZxyz(1.7223, 1.5948, 4.7736)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15213E #3E3215
analogous
#15363E #15213E #1E153E
triadic
#15213E #3E1521 #213E15
tetradic
#15213E #3E1536 #3E3215 #153E1E
square
#15213E #3E1536 #3E3215 #153E1E
split-complementary
#15213E #3E1E15 #363E15
monochromatic
#080C17 #080C17 #15213E #24396C #345299

Accessibility & contrast

On white

15.92
#15213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15213E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15213E#FFFFFF#000000##FFFFFF
##15213E1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #15213e;
/* rgb */ color: rgb(21, 33, 62);
/* oklch */ color: oklch(25.4% 0.058 265.6);
Tailwind
colors: {
  custom: {
    50: '#565b73',
    500: '#15213e',
    950: '#000000',
  },
}
SCSS
$custom: #15213e;
$custom-light: #565b73;
$custom-dark: #000000;
JSON
{
  "hex": "#15213e",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 222.439,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25357,
    "c": 0.0575,
    "h": 265.6
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#15213E
secondary
#766439
accent
#B14FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #15213E

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

Preview Lab → · Contrast checker → · Palette generator →

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