#24216F#24216F

#24216F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.130 H 277.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#24216F
RGBrgb(36, 33, 111)
HSLhsl(242, 54%, 28%)
HSVhsv(242, 70%, 44%)
CMYKcmyk(67.6%, 70.3%, 0%, 56.5%)
CIE-LABlab(18.41, 27.60, -44.70)
CIE-LCHlch(18.41, 52.54, 301.70°)
OKLaboklab(30.82% 0.0164 -0.1289)
OKLCHoklch(30.82% 0.13 277.3)
XYZxyz(4.1397, 2.6101, 15.3215)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24216F #6C6F21
analogous
#21456F #24216F #4B216F
triadic
#24216F #6F2421 #216F24
tetradic
#24216F #6F2145 #6C6F21 #216F4B
square
#24216F #6F2145 #6C6F21 #216F4B
split-complementary
#24216F #6F4B21 #456F21
monochromatic
#080718 #151340 #24216F #332F9E #4843C7

Accessibility & contrast

On white

13.80
#24216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24216F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24216F#FFFFFF#000000##FFFFFF
##24216F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24216f;
/* rgb */ color: rgb(36, 33, 111);
/* oklch */ color: oklch(30.8% 0.130 277.3);
Tailwind
colors: {
  custom: {
    50: '#695d99',
    500: '#24216f',
    950: '#000000',
  },
}
SCSS
$custom: #24216f;
$custom-light: #695d99;
$custom-dark: #000000;
JSON
{
  "hex": "#24216f",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 242.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30819,
    "c": 0.12998,
    "h": 277.3
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#24216F
secondary
#9FA349
accent
#DE4AD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24216F

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

Preview Lab → · Contrast checker → · Palette generator →

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