#4D52E2#4D52E2

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

Color values

HEX#4D52E2
RGBrgb(77, 82, 226)
HSLhsl(238, 72%, 59%)
HSVhsv(238, 66%, 89%)
CMYKcmyk(65.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(42.92, 42.46, -73.80)
CIE-LCHlch(42.92, 85.14, 299.91°)
OKLaboklab(52.52% 0.0176 -0.2129)
OKLCHoklch(52.52% 0.214 274.7)
XYZxyz(19.8008, 13.1016, 73.4221)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52E2 #E2DD4D
analogous
#4D9CE2 #4D52E2 #934DE2
triadic
#4D52E2 #E24D52 #52E24D
tetradic
#4D52E2 #E24D9C #E2DD4D #4DE293
square
#4D52E2 #E24D9C #E2DD4D #4DE293
split-complementary
#4D52E2 #E2934D #9CE24D
monochromatic
#191E9B #2228D0 #4D52E2 #8285EB #B6B8F3

Accessibility & contrast

On white

5.80
#4D52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52E2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52E2#FFFFFF#000000##FFFFFF
##4D52E21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d52e2;
/* rgb */ color: rgb(77, 82, 226);
/* oklch */ color: oklch(52.5% 0.214 274.7);
Tailwind
colors: {
  custom: {
    50: '#9083ec',
    500: '#4d52e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d52e2;
$custom-light: #9083ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52e2",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 237.987,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.21365,
    "h": 274.7
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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