#4C2EED#4C2EED

#4C2EED is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.7% C 0.261 H 277.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4C2EED
RGBrgb(76, 46, 237)
HSLhsl(249, 84%, 55%)
HSVhsv(249, 81%, 93%)
CMYKcmyk(67.9%, 80.6%, 0%, 7.1%)
CIE-LABlab(37.12, 64.60, -89.59)
CIE-LCHlch(37.12, 110.45, 305.80°)
OKLaboklab(48.7% 0.0346 -0.2588)
OKLCHoklch(48.7% 0.261 277.6)
XYZxyz(19.2386, 9.6032, 80.9441)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EED #CFED2E
analogous
#2E6FED #4C2EED #AB2EED
triadic
#4C2EED #ED4C2E #2EED4C
tetradic
#4C2EED #ED2E6F #CFED2E #2EEDAB
square
#4C2EED #ED2E6F #CFED2E #2EEDAB
split-complementary
#4C2EED #EDAB2E #6FED2E
monochromatic
#220D94 #2F12CC #4C2EED #7C66F2 #AD9FF7

Accessibility & contrast

On white

7.19
#4C2EED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4C2EED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EED
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EED#FFFFFF#000000##FFFFFF
##4C2EED1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FF2
Deuteranopia (green-blind)
#004FEA
Tritanopia (blue-blind)
#006A8F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c2eed;
/* rgb */ color: rgb(76, 46, 237);
/* oklch */ color: oklch(48.7% 0.261 277.6);
Tailwind
colors: {
  custom: {
    50: '#946df4',
    500: '#4c2eed',
    950: '#000000',
  },
}
SCSS
$custom: #4c2eed;
$custom-light: #946df4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2eed",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 237
  },
  "hsl": {
    "h": 249.424,
    "s": 84.141,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.26114,
    "h": 277.6
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#4C2EED
secondary
#D7E394
accent
#FA2DDA
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4C2EED

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

Preview Lab → · Contrast checker → · Palette generator →

#4C2EED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva