#2C24C1#2C24C1

#2C24C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.7% C 0.227 H 272.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2C24C1
RGBrgb(44, 36, 193)
HSLhsl(243, 69%, 45%)
HSVhsv(243, 81%, 76%)
CMYKcmyk(77.2%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.50, 53.98, -78.53)
CIE-LCHlch(28.50, 95.29, 304.50°)
OKLaboklab(40.74% 0.0083 -0.2272)
OKLCHoklch(40.74% 0.227 272.1)
XYZxyz(11.2920, 5.6462, 50.9364)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24C1 #B9C124
analogous
#246BC1 #2C24C1 #7A24C1
triadic
#2C24C1 #C12C24 #24C12C
tetradic
#2C24C1 #C1246B #B9C124 #24C17A
square
#2C24C1 #C1246B #B9C124 #24C17A
split-complementary
#2C24C1 #C17A24 #6BC124
monochromatic
#14115A #201A8D #2C24C1 #4D46DC #7F79E6

Accessibility & contrast

On white

9.86
#2C24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24C1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24C1#FFFFFF#000000##FFFFFF
##2C24C11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.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: #2c24c1;
/* rgb */ color: rgb(44, 36, 193);
/* oklch */ color: oklch(40.7% 0.227 272.1);
Tailwind
colors: {
  custom: {
    50: '#8063d5',
    500: '#2c24c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c24c1;
$custom-light: #8063d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24c1",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 243.057,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.22739,
    "h": 272.1
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#2C24C1
secondary
#C9CE73
accent
#EB3CE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C24C1

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

Preview Lab → · Contrast checker → · Palette generator →

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