#4E4DEC#4E4DEC

#4E4DEC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.231 H 275.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E4DEC
RGBrgb(78, 77, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 67%, 93%)
CMYKcmyk(66.9%, 67.4%, 0%, 7.5%)
CIE-LABlab(42.74, 48.77, -79.76)
CIE-LCHlch(42.74, 93.49, 301.44°)
OKLaboklab(52.67% 0.0212 -0.2304)
OKLCHoklch(52.67% 0.231 275.3)
XYZxyz(20.9311, 12.9817, 80.7433)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DEC #EBEC4D
analogous
#4D9CEC #4E4DEC #9E4DEC
triadic
#4E4DEC #EC4E4D #4DEC4E
tetradic
#4E4DEC #EC4D9C #EBEC4D #4DEC9E
square
#4E4DEC #EC4D9C #EBEC4D #4DEC9E
split-complementary
#4E4DEC #EC9E4D #9CEC4D
monochromatic
#1312AC #1A18E4 #4E4DEC #8584F2 #BCBCF8

Accessibility & contrast

On white

5.84
#4E4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DEC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DEC#FFFFFF#000000##FFFFFF
##4E4DEC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e4dec;
/* rgb */ color: rgb(78, 77, 236);
/* oklch */ color: oklch(52.7% 0.231 275.3);
Tailwind
colors: {
  custom: {
    50: '#9380f3',
    500: '#4e4dec',
    950: '#000000',
  },
}
SCSS
$custom: #4e4dec;
$custom-light: #9380f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4dec",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 240.377,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.23133,
    "h": 275.3
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#4E4DEC
secondary
#E8E8AD
accent
#DD08DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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