#4C4FE7#4C4FE7

#4C4FE7 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.224 H 274.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4C4FE7
RGBrgb(76, 79, 231)
HSLhsl(239, 76%, 60%)
HSVhsv(239, 67%, 91%)
CMYKcmyk(67.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(42.61, 45.75, -77.15)
CIE-LCHlch(42.61, 89.69, 300.67°)
OKLaboklab(52.41% 0.0181 -0.2228)
OKLCHoklch(52.41% 0.224 274.7)
XYZxyz(20.1955, 12.8961, 77.0107)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FE7 #E7E44C
analogous
#4C9CE7 #4C4FE7 #974CE7
triadic
#4C4FE7 #E74C4F #4FE74C
tetradic
#4C4FE7 #E74C9C #E7E44C #4CE797
square
#4C4FE7 #E74C9C #E7E44C #4CE797
split-complementary
#4C4FE7 #E7974C #9CE74C
monochromatic
#1619A3 #1D21D9 #4C4FE7 #8284EE #B8B9F5

Accessibility & contrast

On white

5.87
#4C4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4C4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FE7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FE7#FFFFFF#000000##FFFFFF
##4C4FE71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c4fe7;
/* rgb */ color: rgb(76, 79, 231);
/* oklch */ color: oklch(52.4% 0.224 274.7);
Tailwind
colors: {
  custom: {
    50: '#9181f0',
    500: '#4c4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fe7;
$custom-light: #9181f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fe7",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 238.839,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52412,
    "c": 0.22351,
    "h": 274.7
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#4C4FE7
secondary
#E5E4AA
accent
#D50DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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