#2C24C5#2C24C5

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

Color values

HEX#2C24C5
RGBrgb(44, 36, 197)
HSLhsl(243, 69%, 46%)
HSVhsv(243, 82%, 77%)
CMYKcmyk(77.7%, 81.7%, 0%, 22.7%)
CIE-LABlab(28.97, 55.19, -80.10)
CIE-LCHlch(28.97, 97.28, 304.57°)
OKLaboklab(41.2% 0.0073 -0.2318)
OKLCHoklch(41.2% 0.232 271.8)
XYZxyz(11.7442, 5.8271, 53.3183)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24C5 #BDC524
analogous
#246DC5 #2C24C5 #7C24C5
triadic
#2C24C5 #C52C24 #24C52C
tetradic
#2C24C5 #C5246D #BDC524 #24C57C
square
#2C24C5 #C5246D #BDC524 #24C57C
split-complementary
#2C24C5 #C57C24 #6DC524
monochromatic
#15115E #201B91 #2C24C5 #5049DE #827CE7

Accessibility & contrast

On white

9.70
#2C24C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C24C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24C5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24C5#FFFFFF#000000##FFFFFF
##2C24C51.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.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: #2c24c5;
/* rgb */ color: rgb(44, 36, 197);
/* oklch */ color: oklch(41.2% 0.232 271.8);
Tailwind
colors: {
  custom: {
    50: '#8164d8',
    500: '#2c24c5',
    950: '#000000',
  },
}
SCSS
$custom: #2c24c5;
$custom-light: #8164d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24c5",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 197
  },
  "hsl": {
    "h": 242.981,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.23191,
    "h": 271.8
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#2C24C5
secondary
#CBCF76
accent
#EC3CE3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2C24C5

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

Preview Lab → · Contrast checker → · Palette generator →

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