#2C24AC#2C24AC

#2C24AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.203 H 273.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2C24AC
RGBrgb(44, 36, 172)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(74.4%, 79.1%, 0%, 32.5%)
CIE-LABlab(26.08, 47.46, -70.04)
CIE-LCHlch(26.08, 84.60, 304.12°)
OKLaboklab(38.35% 0.0132 -0.2026)
OKLCHoklch(38.35% 0.203 273.7)
XYZxyz(9.1135, 4.7749, 39.4631)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C24AC #A4AC24
analogous
#2460AC #2C24AC #7024AC
triadic
#2C24AC #AC2C24 #24AC2C
tetradic
#2C24AC #AC2460 #A4AC24 #24AC70
square
#2C24AC #AC2460 #A4AC24 #24AC70
split-complementary
#2C24AC #AC7024 #60AC24
monochromatic
#120F47 #1F1979 #2C24AC #4138D5 #716AE0

Accessibility & contrast

On white

10.74
#2C24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C24AC
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C24AC#FFFFFF#000000##FFFFFF
##2C24AC1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c24ac;
/* rgb */ color: rgb(44, 36, 172);
/* oklch */ color: oklch(38.4% 0.203 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b62c6',
    500: '#2c24ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c24ac;
$custom-light: #7b62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c24ac",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 243.529,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.20305,
    "h": 273.7
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#2C24AC
secondary
#C0C666
accent
#E83FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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