#24219C#24219C

#24219C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.189 H 272.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#24219C
RGBrgb(36, 33, 156)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 61%)
CMYKcmyk(76.9%, 78.8%, 0%, 38.8%)
CIE-LABlab(23.21, 43.23, -65.10)
CIE-LCHlch(23.21, 78.15, 303.59°)
OKLaboklab(35.67% 0.008 -0.1884)
OKLCHoklch(35.67% 0.189 272.4)
XYZxyz(7.2701, 3.8623, 31.8084)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219C #999C21
analogous
#215C9C #24219C #61219C
triadic
#24219C #9C2421 #219C24
tetradic
#24219C #9C215C #999C21 #219C61
square
#24219C #9C215C #999C21 #219C61
split-complementary
#24219C #9C6121 #5C9C21
monochromatic
#0D0C37 #181669 #24219C #302CCF #5E5BDC

Accessibility & contrast

On white

11.85
#24219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219C#FFFFFF#000000##FFFFFF
##24219C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24219c;
/* rgb */ color: rgb(36, 33, 156);
/* oklch */ color: oklch(35.7% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#745fbb',
    500: '#24219c',
    950: '#000000',
  },
}
SCSS
$custom: #24219c;
$custom-light: #745fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24219c",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 241.463,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.18859,
    "h": 272.4
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#24219C
secondary
#BEC158
accent
#E840E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24219C

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

Preview Lab → · Contrast checker → · Palette generator →

#24219C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva