#2A24C1#2A24C1

#2A24C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.228 H 271.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2A24C1
RGBrgb(42, 36, 193)
HSLhsl(242, 69%, 45%)
HSVhsv(242, 81%, 76%)
CMYKcmyk(78.2%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.39, 53.86, -78.72)
CIE-LCHlch(28.39, 95.39, 304.38°)
OKLaboklab(40.63% 0.0059 -0.2278)
OKLCHoklch(40.63% 0.228 271.5)
XYZxyz(11.2081, 5.6030, 50.9325)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24C1 #BBC124
analogous
#246DC1 #2A24C1 #7924C1
triadic
#2A24C1 #C12A24 #24C12A
tetradic
#2A24C1 #C1246D #BBC124 #24C179
square
#2A24C1 #C1246D #BBC124 #24C179
split-complementary
#2A24C1 #C17924 #6DC124
monochromatic
#14115A #1F1A8D #2A24C1 #4C46DC #7D79E6

Accessibility & contrast

On white

9.90
#2A24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24C1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24C1#FFFFFF#000000##FFFFFF
##2A24C11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a24c1;
/* rgb */ color: rgb(42, 36, 193);
/* oklch */ color: oklch(40.6% 0.228 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f63d5',
    500: '#2a24c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a24c1;
$custom-light: #7f63d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24c1",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 242.293,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.22791,
    "h": 271.5
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#2A24C1
secondary
#CACE73
accent
#EB3CE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2A24C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2A24C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva