#4C52DE#4C52DE

#4C52DE is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.1% C 0.209 H 274.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4C52DE
RGBrgb(76, 82, 222)
HSLhsl(238, 69%, 58%)
HSVhsv(238, 66%, 87%)
CMYKcmyk(65.8%, 63.1%, 0%, 12.9%)
CIE-LABlab(42.53, 41.00, -72.17)
CIE-LCHlch(42.53, 83.00, 299.60°)
OKLaboklab(52.12% 0.0167 -0.2082)
OKLCHoklch(52.12% 0.209 274.6)
XYZxyz(19.1782, 12.8433, 70.5614)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52DE #DED84C
analogous
#4C9BDE #4C52DE #8F4CDE
triadic
#4C52DE #DE4C52 #52DE4C
tetradic
#4C52DE #DE4C9B #DED84C #4CDE8F
square
#4C52DE #DE4C9B #DED84C #4CDE8F
split-complementary
#4C52DE #DE8F4C #9BDE4C
monochromatic
#1B2094 #252CC8 #4C52DE #8084E8 #B3B6F1

Accessibility & contrast

On white

5.88
#4C52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4C52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52DE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52DE#FFFFFF#000000##FFFFFF
##4C52DE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c52de;
/* rgb */ color: rgb(76, 82, 222);
/* oklch */ color: oklch(52.1% 0.209 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f83e9',
    500: '#4c52de',
    950: '#000000',
  },
}
SCSS
$custom: #4c52de;
$custom-light: #8f83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52de",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 237.534,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.20883,
    "h": 274.6
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#4C52DE
secondary
#E0DDA6
accent
#E43CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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