#15224B#15224B

#15224B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.078 H 267.6°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#15224B
RGBrgb(21, 34, 75)
HSLhsl(226, 56%, 19%)
HSVhsv(226, 72%, 29%)
CMYKcmyk(72%, 54.7%, 0%, 70.6%)
CIE-LABlab(14.46, 10.12, -27.18)
CIE-LCHlch(14.46, 29.00, 290.41°)
OKLaboklab(26.63% -0.0032 -0.0779)
OKLCHoklch(26.63% 0.078 267.6)
XYZxyz(2.1509, 1.8113, 6.8915)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224B #4B3E15
analogous
#153D4B #15224B #23154B
triadic
#15224B #4B1522 #224B15
tetradic
#15224B #4B153D #4B3E15 #154B23
square
#15224B #4B153D #4B3E15 #154B23
split-complementary
#15224B #4B2315 #3D4B15
monochromatic
#070B18 #080C1B #15224B #22387B #304DAB

Accessibility & contrast

On white

15.42
#15224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15224B
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224B#FFFFFF#000000##FFFFFF
##15224B1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#02224A
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15224b;
/* rgb */ color: rgb(21, 34, 75);
/* oklch */ color: oklch(26.6% 0.078 267.6);
Tailwind
colors: {
  custom: {
    50: '#595c7d',
    500: '#15224b',
    950: '#000000',
  },
}
SCSS
$custom: #15224b;
$custom-light: #595c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#15224b",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 225.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26628,
    "c": 0.07795,
    "h": 267.6
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#15224B
secondary
#837139
accent
#BB48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15224B

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

Preview Lab → · Contrast checker → · Palette generator →

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