#24216A#24216A

#24216A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.123 H 278.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#24216A
RGBrgb(36, 33, 106)
HSLhsl(242, 53%, 27%)
HSVhsv(242, 69%, 42%)
CMYKcmyk(66%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.93, 25.78, -42.23)
CIE-LCHlch(17.93, 49.48, 301.41°)
OKLaboklab(30.33% 0.017 -0.1217)
OKLCHoklch(30.33% 0.123 278)
XYZxyz(3.8721, 2.5031, 13.9120)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24216A #676A21
analogous
#21426A #24216A #49216A
triadic
#24216A #6A2421 #216A24
tetradic
#24216A #6A2142 #676A21 #216A49
square
#24216A #6A2142 #676A21 #216A49
split-complementary
#24216A #6A4921 #426A21
monochromatic
#080717 #14123B #24216A #343099 #4741C4

Accessibility & contrast

On white

13.99
#24216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#24216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24216A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24216A#FFFFFF#000000##FFFFFF
##24216A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24216a;
/* rgb */ color: rgb(36, 33, 106);
/* oklch */ color: oklch(30.3% 0.123 278.0);
Tailwind
colors: {
  custom: {
    50: '#685c95',
    500: '#24216a',
    950: '#000000',
  },
}
SCSS
$custom: #24216a;
$custom-light: #685c95;
$custom-dark: #000000;
JSON
{
  "hex": "#24216a",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 242.466,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30326,
    "c": 0.12288,
    "h": 278
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#24216A
secondary
#9A9E49
accent
#DC4CD6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #24216A

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

Preview Lab → · Contrast checker → · Palette generator →

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