#4C2EE3#4C2EE3

#4C2EE3 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.6% C 0.250 H 278.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4C2EE3
RGBrgb(76, 46, 227)
HSLhsl(250, 76%, 54%)
HSVhsv(250, 80%, 89%)
CMYKcmyk(66.5%, 79.7%, 0%, 11%)
CIE-LABlab(36.05, 61.80, -85.67)
CIE-LCHlch(36.05, 105.64, 305.81°)
OKLaboklab(47.64% 0.0375 -0.2474)
OKLCHoklch(47.64% 0.25 278.6)
XYZxyz(17.8182, 9.0350, 73.4631)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EE3 #C5E32E
analogous
#2E6AE3 #4C2EE3 #A62EE3
triadic
#4C2EE3 #E34C2E #2EE34C
tetradic
#4C2EE3 #E32E6A #C5E32E #2EE3A6
square
#4C2EE3 #E32E6A #C5E32E #2EE3A6
split-complementary
#4C2EE3 #E3A62E #6AE32E
monochromatic
#251285 #3419BB #4C2EE3 #7A64EA #A89AF1

Accessibility & contrast

On white

7.48
#4C2EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4C2EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EE3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EE3#FFFFFF#000000##FFFFFF
##4C2EE31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#00668A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c2ee3;
/* rgb */ color: rgb(76, 46, 227);
/* oklch */ color: oklch(47.6% 0.250 278.6);
Tailwind
colors: {
  custom: {
    50: '#926ded',
    500: '#4c2ee3',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ee3;
$custom-light: #926ded;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ee3",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 249.945,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.25026,
    "h": 278.6
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#4C2EE3
secondary
#D0DD90
accent
#F335D3
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4C2EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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