#15224C#15224C

#15224C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.080 H 267.8°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#15224C
RGBrgb(21, 34, 76)
HSLhsl(226, 57%, 19%)
HSVhsv(226, 72%, 30%)
CMYKcmyk(72.4%, 55.3%, 0%, 70.2%)
CIE-LABlab(14.54, 10.53, -27.74)
CIE-LCHlch(14.54, 29.67, 290.79°)
OKLaboklab(26.71% -0.0031 -0.0795)
OKLCHoklch(26.71% 0.08 267.8)
XYZxyz(2.1853, 1.8251, 7.0732)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224C #4C3F15
analogous
#153E4C #15224C #24154C
triadic
#15224C #4C1522 #224C15
tetradic
#15224C #4C153E #4C3F15 #154C24
square
#15224C #4C153E #4C3F15 #154C24
split-complementary
#15224C #4C2415 #3E4C15
monochromatic
#070B18 #080D1C #15224C #22377C #2F4DAC

Accessibility & contrast

On white

15.38
#15224C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15224C
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224C#FFFFFF#000000##FFFFFF
##15224C1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15224c;
/* rgb */ color: rgb(21, 34, 76);
/* oklch */ color: oklch(26.7% 0.080 267.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c7e',
    500: '#15224c',
    950: '#000000',
  },
}
SCSS
$custom: #15224c;
$custom-light: #5a5c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#15224c",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 76
  },
  "hsl": {
    "h": 225.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26712,
    "c": 0.07959,
    "h": 267.8
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#15224C
secondary
#847239
accent
#BC48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15224C

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

Preview Lab → · Contrast checker → · Palette generator →

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