#15224A#15224A

#15224A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.076 H 267.5°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#15224A
RGBrgb(21, 34, 74)
HSLhsl(225, 56%, 19%)
HSVhsv(225, 72%, 29%)
CMYKcmyk(71.6%, 54.1%, 0%, 71%)
CIE-LABlab(14.39, 9.70, -26.62)
CIE-LCHlch(14.39, 28.33, 290.02°)
OKLaboklab(26.55% -0.0034 -0.0762)
OKLCHoklch(26.55% 0.076 267.5)
XYZxyz(2.1169, 1.7977, 6.7127)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224A #4A3D15
analogous
#153C4A #15224A #22154A
triadic
#15224A #4A1522 #224A15
tetradic
#15224A #4A153C #4A3D15 #154A22
square
#15224A #4A153C #4A3D15 #154A22
split-complementary
#15224A #4A2215 #3C4A15
monochromatic
#070B18 #070C1A #15224A #23387A #304EA9

Accessibility & contrast

On white

15.45
#15224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15224A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224A#FFFFFF#000000##FFFFFF
##15224A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274B
Deuteranopia (green-blind)
#032249
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15224a;
/* rgb */ color: rgb(21, 34, 74);
/* oklch */ color: oklch(26.5% 0.076 267.5);
Tailwind
colors: {
  custom: {
    50: '#595c7d',
    500: '#15224a',
    950: '#000000',
  },
}
SCSS
$custom: #15224a;
$custom-light: #595c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#15224a",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 225.283,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26546,
    "c": 0.07629,
    "h": 267.5
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#15224A
secondary
#827039
accent
#BA49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #15224A

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

Preview Lab → · Contrast checker → · Palette generator →

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