#24216E#24216E

#24216E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.129 H 277.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#24216E
RGBrgb(36, 33, 110)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 70%, 43%)
CMYKcmyk(67.3%, 70%, 0%, 56.9%)
CIE-LABlab(18.31, 27.24, -44.21)
CIE-LCHlch(18.31, 51.93, 301.64°)
OKLaboklab(30.72% 0.0166 -0.1275)
OKLCHoklch(30.72% 0.129 277.4)
XYZxyz(4.0850, 2.5882, 15.0331)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24216E #6B6E21
analogous
#21446E #24216E #4A216E
triadic
#24216E #6E2421 #216E24
tetradic
#24216E #6E2144 #6B6E21 #216E4A
square
#24216E #6E2144 #6B6E21 #216E4A
split-complementary
#24216E #6E4A21 #446E21
monochromatic
#080718 #15133F #24216E #332F9D #4843C7

Accessibility & contrast

On white

13.84
#24216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#24216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24216E
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24216E#FFFFFF#000000##FFFFFF
##24216E1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24216e;
/* rgb */ color: rgb(36, 33, 110);
/* oklch */ color: oklch(30.7% 0.129 277.4);
Tailwind
colors: {
  custom: {
    50: '#695d98',
    500: '#24216e',
    950: '#000000',
  },
}
SCSS
$custom: #24216e;
$custom-light: #695d98;
$custom-dark: #000000;
JSON
{
  "hex": "#24216e",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 242.338,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.12857,
    "h": 277.4
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#24216E
secondary
#9EA249
accent
#DD4BD8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24216E

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

Preview Lab → · Contrast checker → · Palette generator →

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