#4D48E5#4D48E5

#4D48E5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.228 H 276.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4D48E5
RGBrgb(77, 72, 229)
HSLhsl(242, 75%, 59%)
HSVhsv(242, 69%, 90%)
CMYKcmyk(66.4%, 68.6%, 0%, 10.2%)
CIE-LABlab(41.01, 49.26, -78.64)
CIE-LCHlch(41.01, 92.80, 302.07°)
OKLaboklab(51.22% 0.0242 -0.2271)
OKLCHoklch(51.22% 0.228 276.1)
XYZxyz(19.5162, 11.8679, 75.3758)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48E5 #E0E548
analogous
#4892E5 #4D48E5 #9C48E5
triadic
#4D48E5 #E54D48 #48E54D
tetradic
#4D48E5 #E54892 #E0E548 #48E59C
square
#4D48E5 #E54892 #E0E548 #48E59C
split-complementary
#4D48E5 #E59C48 #92E548
monochromatic
#1A169C #241ED2 #4D48E5 #817EED #B5B3F4

Accessibility & contrast

On white

6.22
#4D48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48E5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48E5#FFFFFF#000000##FFFFFF
##4D48E51.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d48e5;
/* rgb */ color: rgb(77, 72, 229);
/* oklch */ color: oklch(51.2% 0.228 276.1);
Tailwind
colors: {
  custom: {
    50: '#917cee',
    500: '#4d48e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d48e5;
$custom-light: #917cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48e5",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 241.911,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.22839,
    "h": 276.1
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#4D48E5
secondary
#E1E3A6
accent
#F236EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4D48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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