#24219B#24219B

#24219B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.187 H 272.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#24219B
RGBrgb(36, 33, 155)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 61%)
CMYKcmyk(76.8%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.10, 42.90, -64.68)
CIE-LCHlch(23.10, 77.61, 303.56°)
OKLaboklab(35.56% 0.0082 -0.1872)
OKLCHoklch(35.56% 0.187 272.5)
XYZxyz(7.1858, 3.8286, 31.3643)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219B #989B21
analogous
#215B9B #24219B #61219B
triadic
#24219B #9B2421 #219B24
tetradic
#24219B #9B215B #989B21 #219B61
square
#24219B #9B215B #989B21 #219B61
split-complementary
#24219B #9B6121 #5B9B21
monochromatic
#0D0C36 #181669 #24219B #302CCD #5E5ADC

Accessibility & contrast

On white

11.89
#24219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219B
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219B#FFFFFF#000000##FFFFFF
##24219B1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24219b;
/* rgb */ color: rgb(36, 33, 155);
/* oklch */ color: oklch(35.6% 0.187 272.5);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#24219b',
    950: '#000000',
  },
}
SCSS
$custom: #24219b;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#24219b",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 241.475,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.18737,
    "h": 272.5
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24219B

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

Preview Lab → · Contrast checker → · Palette generator →

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