#24219F#24219F

#24219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.192 H 272.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#24219F
RGBrgb(36, 33, 159)
HSLhsl(241, 66%, 38%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(77.4%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.56, 44.22, -66.36)
CIE-LCHlch(23.56, 79.75, 303.68°)
OKLaboklab(36.01% 0.0074 -0.1921)
OKLCHoklch(36.01% 0.192 272.2)
XYZxyz(7.5273, 3.9652, 33.1628)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219F #9C9F21
analogous
#215D9F #24219F #63219F
triadic
#24219F #9F2421 #219F24
tetradic
#24219F #9F215D #9C9F21 #219F63
square
#24219F #9F215D #9C9F21 #219F63
split-complementary
#24219F #9F6321 #5D9F21
monochromatic
#0D0C3A #19166C #24219F #2F2CD2 #605DDD

Accessibility & contrast

On white

11.71
#24219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219F#FFFFFF#000000##FFFFFF
##24219F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24219f;
/* rgb */ color: rgb(36, 33, 159);
/* oklch */ color: oklch(36.0% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#755fbd',
    500: '#24219f',
    950: '#000000',
  },
}
SCSS
$custom: #24219f;
$custom-light: #755fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#24219f",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 241.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.19222,
    "h": 272.2
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#24219F
secondary
#BFC25A
accent
#E93FE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24219F

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

Preview Lab → · Contrast checker → · Palette generator →

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