#24216B#24216B

#24216B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.124 H 277.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#24216B
RGBrgb(36, 33, 107)
HSLhsl(242, 53%, 27%)
HSVhsv(242, 69%, 42%)
CMYKcmyk(66.4%, 69.2%, 0%, 58%)
CIE-LABlab(18.03, 26.15, -42.73)
CIE-LCHlch(18.03, 50.09, 301.47°)
OKLaboklab(30.42% 0.0169 -0.1232)
OKLCHoklch(30.42% 0.124 277.8)
XYZxyz(3.9244, 2.5240, 14.1874)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24216B #686B21
analogous
#21436B #24216B #49216B
triadic
#24216B #6B2421 #216B24
tetradic
#24216B #6B2143 #686B21 #216B49
square
#24216B #6B2143 #686B21 #216B49
split-complementary
#24216B #6B4921 #436B21
monochromatic
#080717 #14133C #24216B #342F9A #4742C5

Accessibility & contrast

On white

13.96
#24216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24216B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24216B#FFFFFF#000000##FFFFFF
##24216B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #24216b;
/* rgb */ color: rgb(36, 33, 107);
/* oklch */ color: oklch(30.4% 0.124 277.8);
Tailwind
colors: {
  custom: {
    50: '#685c96',
    500: '#24216b',
    950: '#000000',
  },
}
SCSS
$custom: #24216b;
$custom-light: #685c96;
$custom-dark: #000000;
JSON
{
  "hex": "#24216b",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 242.432,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30423,
    "c": 0.12432,
    "h": 277.8
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24216B

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

Preview Lab → · Contrast checker → · Palette generator →

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