#4D52E7#4D52E7

#4D52E7 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.220 H 274.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4D52E7
RGBrgb(77, 82, 231)
HSLhsl(238, 76%, 60%)
HSVhsv(238, 67%, 91%)
CMYKcmyk(66.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(43.33, 44.10, -75.96)
CIE-LCHlch(43.33, 87.84, 300.14°)
OKLaboklab(52.95% 0.0172 -0.2192)
OKLCHoklch(52.95% 0.22 274.5)
XYZxyz(20.4969, 13.3800, 77.0882)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52E7 #E7E24D
analogous
#4D9FE7 #4D52E7 #954DE7
triadic
#4D52E7 #E74D52 #52E74D
tetradic
#4D52E7 #E74D9F #E7E24D #4DE795
square
#4D52E7 #E74D9F #E7E24D #4DE795
split-complementary
#4D52E7 #E7954D #9FE74D
monochromatic
#161BA4 #1D23D9 #4D52E7 #8386EE #B9BBF6

Accessibility & contrast

On white

5.71
#4D52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4D52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52E7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52E7#FFFFFF#000000##FFFFFF
##4D52E71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.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: #4d52e7;
/* rgb */ color: rgb(77, 82, 231);
/* oklch */ color: oklch(53.0% 0.220 274.5);
Tailwind
colors: {
  custom: {
    50: '#9183f0',
    500: '#4d52e7',
    950: '#000000',
  },
}
SCSS
$custom: #4d52e7;
$custom-light: #9183f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52e7",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 238.052,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.21992,
    "h": 274.5
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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