#15244F#15244F

#15244F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.082 H 266.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#15244F
RGBrgb(21, 36, 79)
HSLhsl(224, 58%, 20%)
HSVhsv(224, 73%, 31%)
CMYKcmyk(73.4%, 54.4%, 0%, 69%)
CIE-LABlab(15.41, 10.29, -28.39)
CIE-LCHlch(15.41, 30.20, 289.92°)
OKLaboklab(27.45% -0.0049 -0.0814)
OKLCHoklch(27.45% 0.082 266.6)
XYZxyz(2.3509, 1.9855, 7.6550)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15244F #4F4015
analogous
#15414F #15244F #23154F
triadic
#15244F #4F1524 #244F15
tetradic
#15244F #4F1541 #4F4015 #154F23
square
#15244F #4F1541 #4F4015 #154F23
split-complementary
#15244F #4F2315 #414F15
monochromatic
#060B18 #080E1F #15244F #223A7F #2F50B0

Accessibility & contrast

On white

15.03
#15244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#15244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15244F
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15244F#FFFFFF#000000##FFFFFF
##15244F1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2951
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #15244f;
/* rgb */ color: rgb(21, 36, 79);
/* oklch */ color: oklch(27.4% 0.082 266.6);
Tailwind
colors: {
  custom: {
    50: '#5a5e81',
    500: '#15244f',
    950: '#000000',
  },
}
SCSS
$custom: #15244f;
$custom-light: #5a5e81;
$custom-dark: #000000;
JSON
{
  "hex": "#15244f",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 224.483,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27447,
    "c": 0.08155,
    "h": 266.6
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#15244F
secondary
#877339
accent
#B947E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15244F

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

Preview Lab → · Contrast checker → · Palette generator →

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