#24219D#24219D

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

Color values

HEX#24219D
RGBrgb(36, 33, 157)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(77.1%, 79%, 0%, 38.4%)
CIE-LABlab(23.33, 43.56, -65.52)
CIE-LCHlch(23.33, 78.68, 303.62°)
OKLaboklab(35.79% 0.0078 -0.1896)
OKLCHoklch(35.79% 0.19 272.4)
XYZxyz(7.3552, 3.8963, 32.2562)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219D #9A9D21
analogous
#215C9D #24219D #62219D
triadic
#24219D #9D2421 #219D24
tetradic
#24219D #9D215C #9A9D21 #219D62
square
#24219D #9D215C #9A9D21 #219D62
split-complementary
#24219D #9D6221 #5C9D21
monochromatic
#0D0C38 #18166A #24219D #302CD0 #5F5CDD

Accessibility & contrast

On white

11.80
#24219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219D#FFFFFF#000000##FFFFFF
##24219D1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24219d;
/* rgb */ color: rgb(36, 33, 157);
/* oklch */ color: oklch(35.8% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#755fbb',
    500: '#24219d',
    950: '#000000',
  },
}
SCSS
$custom: #24219d;
$custom-light: #755fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24219d",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 241.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.1898,
    "h": 272.4
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24219D

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

Preview Lab → · Contrast checker → · Palette generator →

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