#4C52E7#4C52E7

#4C52E7 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.220 H 274.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4C52E7
RGBrgb(76, 82, 231)
HSLhsl(238, 76%, 60%)
HSVhsv(238, 67%, 91%)
CMYKcmyk(67.1%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.27, 43.98, -76.06)
CIE-LCHlch(43.27, 87.86, 300.03°)
OKLaboklab(52.89% 0.0161 -0.2196)
OKLCHoklch(52.89% 0.22 274.2)
XYZxyz(20.4168, 13.3387, 77.0845)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52E7 #E7E14C
analogous
#4CA0E7 #4C52E7 #934CE7
triadic
#4C52E7 #E74C52 #52E74C
tetradic
#4C52E7 #E74CA0 #E7E14C #4CE793
square
#4C52E7 #E74CA0 #E7E14C #4CE793
split-complementary
#4C52E7 #E7934C #A0E74C
monochromatic
#161BA3 #1D24D9 #4C52E7 #8286EE #B8BAF5

Accessibility & contrast

On white

5.72
#4C52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4C52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52E7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52E7#FFFFFF#000000##FFFFFF
##4C52E71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c52e7;
/* rgb */ color: rgb(76, 82, 231);
/* oklch */ color: oklch(52.9% 0.220 274.2);
Tailwind
colors: {
  custom: {
    50: '#9083f0',
    500: '#4c52e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c52e7;
$custom-light: #9083f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52e7",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 237.677,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.22017,
    "h": 274.2
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#4C52E7
secondary
#E5E3AA
accent
#D10DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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