#2A24C5#2A24C5

#2A24C5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.232 H 271.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2A24C5
RGBrgb(42, 36, 197)
HSLhsl(242, 69%, 46%)
HSVhsv(242, 82%, 77%)
CMYKcmyk(78.7%, 81.7%, 0%, 22.7%)
CIE-LABlab(28.86, 55.08, -80.29)
CIE-LCHlch(28.86, 97.37, 304.45°)
OKLaboklab(41.09% 0.005 -0.2324)
OKLCHoklch(41.09% 0.232 271.2)
XYZxyz(11.6604, 5.7839, 53.3144)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24C5 #BFC524
analogous
#246EC5 #2A24C5 #7A24C5
triadic
#2A24C5 #C52A24 #24C52A
tetradic
#2A24C5 #C5246E #BFC524 #24C57A
square
#2A24C5 #C5246E #BFC524 #24C57A
split-complementary
#2A24C5 #C57A24 #6EC524
monochromatic
#14115E #1F1B91 #2A24C5 #4E49DE #807CE7

Accessibility & contrast

On white

9.74
#2A24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24C5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24C5#FFFFFF#000000##FFFFFF
##2A24C51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC9
Deuteranopia (green-blind)
#003CC2
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a24c5;
/* rgb */ color: rgb(42, 36, 197);
/* oklch */ color: oklch(41.1% 0.232 271.2);
Tailwind
colors: {
  custom: {
    50: '#8064d8',
    500: '#2a24c5',
    950: '#000000',
  },
}
SCSS
$custom: #2a24c5;
$custom-light: #8064d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24c5",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 242.236,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.23242,
    "h": 271.2
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#2A24C5
secondary
#CCCF76
accent
#EC3CE5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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