#15224E#15224E

#15224E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.083 H 268.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#15224E
RGBrgb(21, 34, 78)
HSLhsl(226, 58%, 19%)
HSVhsv(226, 73%, 31%)
CMYKcmyk(73.1%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.70, 11.38, -28.86)
CIE-LCHlch(14.70, 31.02, 291.51°)
OKLaboklab(26.88% -0.0028 -0.0828)
OKLCHoklch(26.88% 0.083 268)
XYZxyz(2.2560, 1.8533, 7.4451)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224E #4E4115
analogous
#153F4E #15224E #25154E
triadic
#15224E #4E1522 #224E15
tetradic
#15224E #4E153F #4E4115 #154E25
square
#15224E #4E153F #4E4115 #154E25
split-complementary
#15224E #4E2515 #3F4E15
monochromatic
#060B18 #080D1E #15224E #22377E #2F4CAE

Accessibility & contrast

On white

15.32
#15224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#15224E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15224E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224E#FFFFFF#000000##FFFFFF
##15224E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082850
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15224e;
/* rgb */ color: rgb(21, 34, 78);
/* oklch */ color: oklch(26.9% 0.083 268.0);
Tailwind
colors: {
  custom: {
    50: '#5a5c80',
    500: '#15224e',
    950: '#000000',
  },
}
SCSS
$custom: #15224e;
$custom-light: #5a5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#15224e",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 226.316,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26881,
    "c": 0.08286,
    "h": 268
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#15224E
secondary
#867439
accent
#BE47E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15224E

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

Preview Lab → · Contrast checker → · Palette generator →

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