#4D4EE4#4D4EE4

#4D4EE4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.221 H 275.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D4EE4
RGBrgb(77, 78, 228)
HSLhsl(240, 74%, 60%)
HSVhsv(240, 66%, 89%)
CMYKcmyk(66.2%, 65.8%, 0%, 10.6%)
CIE-LABlab(42.19, 45.48, -76.12)
CIE-LCHlch(42.19, 88.67, 300.86°)
OKLaboklab(52.05% 0.0203 -0.2197)
OKLCHoklch(52.05% 0.221 275.3)
XYZxyz(19.7839, 12.6262, 74.7783)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EE4 #E4E34D
analogous
#4D99E4 #4D4EE4 #984DE4
triadic
#4D4EE4 #E44D4E #4EE44D
tetradic
#4D4EE4 #E44D99 #E4E34D #4DE498
square
#4D4EE4 #E44D99 #E4E34D #4DE498
split-complementary
#4D4EE4 #E4984D #99E44D
monochromatic
#18199F #2021D4 #4D4EE4 #8283EC #B7B8F4

Accessibility & contrast

On white

5.96
#4D4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4D4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EE4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EE4#FFFFFF#000000##FFFFFF
##4D4EE41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d4ee4;
/* rgb */ color: rgb(77, 78, 228);
/* oklch */ color: oklch(52.1% 0.221 275.3);
Tailwind
colors: {
  custom: {
    50: '#9180ee',
    500: '#4d4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ee4;
$custom-light: #9180ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ee4",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 239.603,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.22066,
    "h": 275.3
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#4D4EE4
secondary
#E4E3A9
accent
#EF37F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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