#24215E#24215E

#24215E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.105 H 279.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#24215E
RGBrgb(36, 33, 94)
HSLhsl(243, 48%, 25%)
HSVhsv(243, 65%, 37%)
CMYKcmyk(61.7%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.85, 21.38, -36.09)
CIE-LCHlch(16.85, 41.95, 300.64°)
OKLaboklab(29.2% 0.018 -0.1037)
OKLCHoklch(29.2% 0.105 279.8)
XYZxyz(3.2912, 2.2707, 10.8524)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24215E #5B5E21
analogous
#213C5E #24215E #43215E
triadic
#24215E #5E2421 #215E24
tetradic
#24215E #5E213C #5B5E21 #215E43
square
#24215E #5E213C #5B5E21 #215E43
split-complementary
#24215E #5E4321 #3C5E21
monochromatic
#090817 #131131 #24215E #35318B #4741B9

Accessibility & contrast

On white

14.44
#24215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#24215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24215E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24215E#FFFFFF#000000##FFFFFF
##24215E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#03303C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24215e;
/* rgb */ color: rgb(36, 33, 94);
/* oklch */ color: oklch(29.2% 0.105 279.8);
Tailwind
colors: {
  custom: {
    50: '#655c8c',
    500: '#24215e',
    950: '#000000',
  },
}
SCSS
$custom: #24215e;
$custom-light: #655c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#24215e",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 242.951,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29195,
    "c": 0.10523,
    "h": 279.8
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#24215E
secondary
#8F9249
accent
#D850D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24215E

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

Preview Lab → · Contrast checker → · Palette generator →

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