#15224F#15224F

#15224F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.084 H 268.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#15224F
RGBrgb(21, 34, 79)
HSLhsl(227, 58%, 20%)
HSVhsv(227, 73%, 31%)
CMYKcmyk(73.4%, 57%, 0%, 69%)
CIE-LABlab(14.78, 11.79, -29.41)
CIE-LCHlch(14.78, 31.69, 291.85°)
OKLaboklab(26.97% -0.0027 -0.0844)
OKLCHoklch(26.97% 0.084 268.2)
XYZxyz(2.2921, 1.8678, 7.6353)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15224F #4F4215
analogous
#153F4F #15224F #25154F
triadic
#15224F #4F1522 #224F15
tetradic
#15224F #4F153F #4F4215 #154F25
square
#15224F #4F153F #4F4215 #154F25
split-complementary
#15224F #4F2515 #3F4F15
monochromatic
#060A18 #080D1F #15224F #22377F #2F4CB0

Accessibility & contrast

On white

15.29
#15224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15224F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15224F#FFFFFF#000000##FFFFFF
##15224F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062851
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15224f;
/* rgb */ color: rgb(21, 34, 79);
/* oklch */ color: oklch(27.0% 0.084 268.2);
Tailwind
colors: {
  custom: {
    50: '#5a5c81',
    500: '#15224f',
    950: '#000000',
  },
}
SCSS
$custom: #15224f;
$custom-light: #5a5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#15224f",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 226.552,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26966,
    "c": 0.08448,
    "h": 268.2
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#15224F
secondary
#877539
accent
#BF47E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15224F

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

Preview Lab → · Contrast checker → · Palette generator →

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