#24219A#24219A

#24219A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.186 H 272.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#24219A
RGBrgb(36, 33, 154)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 60%)
CMYKcmyk(76.6%, 78.6%, 0%, 39.6%)
CIE-LABlab(22.98, 42.57, -64.25)
CIE-LCHlch(22.98, 77.08, 303.53°)
OKLaboklab(35.44% 0.0084 -0.1859)
OKLCHoklch(35.44% 0.186 272.6)
XYZxyz(7.1022, 3.7951, 30.9238)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219A #979A21
analogous
#215B9A #24219A #61219A
triadic
#24219A #9A2421 #219A24
tetradic
#24219A #9A215B #979A21 #219A61
square
#24219A #9A215B #979A21 #219A61
split-complementary
#24219A #9A6121 #5B9A21
monochromatic
#0C0B35 #181668 #24219A #302CCC #5D5ADC

Accessibility & contrast

On white

11.94
#24219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#24219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219A#FFFFFF#000000##FFFFFF
##24219A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24219a;
/* rgb */ color: rgb(36, 33, 154);
/* oklch */ color: oklch(35.4% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#24219a',
    950: '#000000',
  },
}
SCSS
$custom: #24219a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24219a",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 241.488,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35444,
    "c": 0.18614,
    "h": 272.6
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#24219A
secondary
#BDC057
accent
#E840E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24219A

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

Preview Lab → · Contrast checker → · Palette generator →

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