#4D52EC#4D52EC

#4D52EC is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.226 H 274.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4D52EC
RGBrgb(77, 82, 236)
HSLhsl(238, 81%, 61%)
HSVhsv(238, 67%, 93%)
CMYKcmyk(67.4%, 65.3%, 0%, 7.5%)
CIE-LABlab(43.75, 45.74, -78.10)
CIE-LCHlch(43.75, 90.51, 300.36°)
OKLaboklab(53.39% 0.0167 -0.2255)
OKLCHoklch(53.39% 0.226 274.2)
XYZxyz(21.2132, 13.6665, 80.8606)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52EC #ECE74D
analogous
#4DA2EC #4D52EC #984DEC
triadic
#4D52EC #EC4D52 #52EC4D
tetradic
#4D52EC #EC4DA2 #ECE74D #4DEC98
square
#4D52EC #EC4DA2 #ECE74D #4DEC98
split-complementary
#4D52EC #EC984D #A2EC4D
monochromatic
#1217AC #181FE4 #4D52EC #8488F2 #BCBDF8

Accessibility & contrast

On white

5.62
#4D52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52EC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52EC#FFFFFF#000000##FFFFFF
##4D52EC1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0060E9
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d52ec;
/* rgb */ color: rgb(77, 82, 236);
/* oklch */ color: oklch(53.4% 0.226 274.2);
Tailwind
colors: {
  custom: {
    50: '#9283f3',
    500: '#4d52ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ec;
$custom-light: #9283f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ec",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 238.113,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.22613,
    "h": 274.2
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

primary
#4D52EC
secondary
#E8E6AD
accent
#D608DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #4D52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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