#4C52E2#4C52E2

#4C52E2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.214 H 274.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4C52E2
RGBrgb(76, 82, 226)
HSLhsl(238, 72%, 59%)
HSVhsv(238, 66%, 89%)
CMYKcmyk(66.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(42.85, 42.32, -73.91)
CIE-LCHlch(42.85, 85.17, 299.80°)
OKLaboklab(52.46% 0.0165 -0.2133)
OKLCHoklch(52.46% 0.214 274.4)
XYZxyz(19.7207, 13.0603, 73.4184)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52E2 #E2DC4C
analogous
#4C9DE2 #4C52E2 #914CE2
triadic
#4C52E2 #E24C52 #52E24C
tetradic
#4C52E2 #E24C9D #E2DC4C #4CE291
square
#4C52E2 #E24C9D #E2DC4C #4CE291
split-complementary
#4C52E2 #E2914C #9DE24C
monochromatic
#191E9B #2229CF #4C52E2 #8185EB #B5B8F3

Accessibility & contrast

On white

5.81
#4C52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4C52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52E2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52E2#FFFFFF#000000##FFFFFF
##4C52E21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c52e2;
/* rgb */ color: rgb(76, 82, 226);
/* oklch */ color: oklch(52.5% 0.214 274.4);
Tailwind
colors: {
  custom: {
    50: '#8f83ec',
    500: '#4c52e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c52e2;
$custom-light: #8f83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52e2",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 237.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.21389,
    "h": 274.4
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#4C52E2
secondary
#E2E0A8
accent
#E839EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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