#4D4DE5#4D4DE5

#4D4DE5 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.223 H 275.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4D4DE5
RGBrgb(77, 77, 229)
HSLhsl(240, 75%, 60%)
HSVhsv(240, 66%, 90%)
CMYKcmyk(66.4%, 66.4%, 0%, 10.2%)
CIE-LABlab(42.06, 46.39, -76.90)
CIE-LCHlch(42.06, 89.81, 301.10°)
OKLaboklab(51.98% 0.0209 -0.222)
OKLCHoklch(51.98% 0.223 275.4)
XYZxyz(19.8526, 12.5409, 75.4880)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DE5 #E5E54D
analogous
#4D99E5 #4D4DE5 #994DE5
triadic
#4D4DE5 #E54D4D #4DE54D
tetradic
#4D4DE5 #E54D99 #E5E54D #4DE599
square
#4D4DE5 #E54D99 #E5E54D #4DE599
split-complementary
#4D4DE5 #E5994D #99E54D
monochromatic
#1717A0 #1F1FD6 #4D4DE5 #8282ED #B8B8F5

Accessibility & contrast

On white

5.99
#4D4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4D4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DE5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DE5#FFFFFF#000000##FFFFFF
##4D4DE51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d4de5;
/* rgb */ color: rgb(77, 77, 229);
/* oklch */ color: oklch(52.0% 0.223 275.4);
Tailwind
colors: {
  custom: {
    50: '#9180ee',
    500: '#4d4de5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4de5;
$custom-light: #9180ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4de5",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.22301,
    "h": 275.4
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#4D4DE5
secondary
#E4E4AA
accent
#F137F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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