#4D52E3#4D52E3

#4D52E3 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.215 H 274.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4D52E3
RGBrgb(77, 82, 227)
HSLhsl(238, 73%, 60%)
HSVhsv(238, 66%, 89%)
CMYKcmyk(66.1%, 63.9%, 0%, 11%)
CIE-LABlab(43.00, 42.79, -74.24)
CIE-LCHlch(43.00, 85.68, 299.96°)
OKLaboklab(52.61% 0.0175 -0.2142)
OKLCHoklch(52.61% 0.215 274.7)
XYZxyz(19.9384, 13.1566, 74.1469)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52E3 #E3DE4D
analogous
#4D9DE3 #4D52E3 #934DE3
triadic
#4D52E3 #E34D52 #52E34D
tetradic
#4D52E3 #E34D9D #E3DE4D #4DE393
square
#4D52E3 #E34D9D #E3DE4D #4DE393
split-complementary
#4D52E3 #E3934D #9DE34D
monochromatic
#191D9D #2127D2 #4D52E3 #8285EB #B7B9F4

Accessibility & contrast

On white

5.78
#4D52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4D52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52E3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52E3#FFFFFF#000000##FFFFFF
##4D52E31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d52e3;
/* rgb */ color: rgb(77, 82, 227);
/* oklch */ color: oklch(52.6% 0.215 274.7);
Tailwind
colors: {
  custom: {
    50: '#9083ed',
    500: '#4d52e3',
    950: '#000000',
  },
}
SCSS
$custom: #4d52e3;
$custom-light: #9083ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52e3",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 238,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.21491,
    "h": 274.7
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#4D52E3
secondary
#E3E1A9
accent
#E938F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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