#15224D#15224D

#15224D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.081 H 267.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#15224D
RGBrgb(21, 34, 77)
HSLhsl(226, 57%, 19%)
HSVhsv(226, 73%, 30%)
CMYKcmyk(72.7%, 55.8%, 0%, 69.8%)
CIE-LABlab(14.62, 10.95, -28.30)
CIE-LCHlch(14.62, 30.35, 291.16°)
OKLaboklab(26.8% -0.0029 -0.0812)
OKLCHoklch(26.8% 0.081 267.9)
XYZxyz(2.2204, 1.8391, 7.2577)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224D #4D4015
analogous
#153E4D #15224D #24154D
triadic
#15224D #4D1522 #224D15
tetradic
#15224D #4D153E #4D4015 #154D24
square
#15224D #4D153E #4D4015 #154D24
split-complementary
#15224D #4D2415 #3E4D15
monochromatic
#070B18 #080D1D #15224D #22377D #2F4CAD

Accessibility & contrast

On white

15.35
#15224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15224D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224D#FFFFFF#000000##FFFFFF
##15224D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09284F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15224d;
/* rgb */ color: rgb(21, 34, 77);
/* oklch */ color: oklch(26.8% 0.081 267.9);
Tailwind
colors: {
  custom: {
    50: '#5a5c7f',
    500: '#15224d',
    950: '#000000',
  },
}
SCSS
$custom: #15224d;
$custom-light: #5a5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#15224d",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 226.071,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26796,
    "c": 0.08123,
    "h": 267.9
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#15224D
secondary
#857339
accent
#BD47E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15224D

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

Preview Lab → · Contrast checker → · Palette generator →

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