#4C2FE0#4C2FE0

#4C2FE0 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.4% C 0.246 H 278.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4C2FE0
RGBrgb(76, 47, 224)
HSLhsl(250, 74%, 53%)
HSVhsv(250, 79%, 88%)
CMYKcmyk(66.1%, 79%, 0%, 12.2%)
CIE-LABlab(35.89, 60.51, -84.23)
CIE-LCHlch(35.89, 103.71, 305.69°)
OKLaboklab(47.44% 0.0379 -0.2432)
OKLCHoklch(47.44% 0.246 278.9)
XYZxyz(17.4472, 8.9499, 71.3146)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2FE0 #C3E02F
analogous
#2F6AE0 #4C2FE0 #A52FE0
triadic
#4C2FE0 #E04C2F #2FE04C
tetradic
#4C2FE0 #E02F6A #C3E02F #2FE0A5
square
#4C2FE0 #E02F6A #C3E02F #2FE0A5
split-complementary
#4C2FE0 #E0A52F #6AE02F
monochromatic
#251381 #351BB7 #4C2FE0 #7A64E8 #A89AF0

Accessibility & contrast

On white

7.53
#4C2FE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4C2FE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2FE0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2FE0#FFFFFF#000000##FFFFFF
##4C2FE01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE5
Deuteranopia (green-blind)
#004DDD
Tritanopia (blue-blind)
#006588
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c2fe0;
/* rgb */ color: rgb(76, 47, 224);
/* oklch */ color: oklch(47.4% 0.246 278.9);
Tailwind
colors: {
  custom: {
    50: '#926deb',
    500: '#4c2fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4c2fe0;
$custom-light: #926deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2fe0",
  "rgb": {
    "r": 76,
    "g": 47,
    "b": 224
  },
  "hsl": {
    "h": 249.831,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.24618,
    "h": 278.9
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#4C2FE0
secondary
#CFDC8F
accent
#F137D2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4C2FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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