#2424C1#2424C1

#2424C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.229 H 269.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2424C1
RGBrgb(36, 36, 193)
HSLhsl(240, 69%, 45%)
HSVhsv(240, 81%, 76%)
CMYKcmyk(81.3%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.08, 53.54, -79.25)
CIE-LCHlch(28.08, 95.64, 304.04°)
OKLaboklab(40.33% -0.0006 -0.2294)
OKLCHoklch(40.33% 0.229 269.8)
XYZxyz(10.9808, 5.4858, 50.9219)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2424C1 #C1C124
analogous
#2473C1 #2424C1 #7324C1
triadic
#2424C1 #C12424 #24C124
tetradic
#2424C1 #C12473 #C1C124 #24C173
square
#2424C1 #C12473 #C1C124 #24C173
split-complementary
#2424C1 #C17324 #73C124
monochromatic
#11115A #1A1A8D #2424C1 #4646DC #7979E6

Accessibility & contrast

On white

10.01
#2424C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2424C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2424C1
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2424C1#FFFFFF#000000##FFFFFF
##2424C11.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2424c1;
/* rgb */ color: rgb(36, 36, 193);
/* oklch */ color: oklch(40.3% 0.229 269.8);
Tailwind
colors: {
  custom: {
    50: '#7d63d5',
    500: '#2424c1',
    950: '#000000',
  },
}
SCSS
$custom: #2424c1;
$custom-light: #7d63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2424c1",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 240,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.22945,
    "h": 269.8
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#2424C1
secondary
#CECE73
accent
#EB3CEB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2424C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2424C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva