#24219E#24219E

#24219E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.191 H 272.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#24219E
RGBrgb(36, 33, 158)
HSLhsl(241, 65%, 37%)
HSVhsv(241, 79%, 62%)
CMYKcmyk(77.2%, 79.1%, 0%, 38%)
CIE-LABlab(23.44, 43.89, -65.94)
CIE-LCHlch(23.44, 79.22, 303.65°)
OKLaboklab(35.9% 0.0076 -0.1909)
OKLCHoklch(35.9% 0.191 272.3)
XYZxyz(7.4409, 3.9306, 32.7077)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24219E #9B9E21
analogous
#215D9E #24219E #63219E
triadic
#24219E #9E2421 #219E24
tetradic
#24219E #9E215D #9B9E21 #219E63
square
#24219E #9E215D #9B9E21 #219E63
split-complementary
#24219E #9E6321 #5D9E21
monochromatic
#0D0C39 #18166B #24219E #302CD1 #5F5CDD

Accessibility & contrast

On white

11.76
#24219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24219E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24219E#FFFFFF#000000##FFFFFF
##24219E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24219e;
/* rgb */ color: rgb(36, 33, 158);
/* oklch */ color: oklch(35.9% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#755fbc',
    500: '#24219e',
    950: '#000000',
  },
}
SCSS
$custom: #24219e;
$custom-light: #755fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24219e",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 241.44,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.359,
    "c": 0.19101,
    "h": 272.3
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#24219E
secondary
#BFC159
accent
#E83FE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24219E

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

Preview Lab → · Contrast checker → · Palette generator →

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