#4E4ED7#4E4ED7

#4E4ED7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.0% C 0.204 H 276.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4ED7
RGBrgb(78, 78, 215)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(63.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(41.17, 41.37, -70.37)
CIE-LCHlch(41.17, 81.63, 300.45°)
OKLaboklab(50.99% 0.0226 -0.2029)
OKLCHoklch(50.99% 0.204 276.4)
XYZxyz(18.1280, 11.9733, 65.6326)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ED7 #D7D74E
analogous
#4E93D7 #4E4ED7 #934ED7
triadic
#4E4ED7 #D74E4E #4ED74E
tetradic
#4E4ED7 #D74E93 #D7D74E #4ED793
square
#4E4ED7 #D74E93 #D7D74E #4ED793
split-complementary
#4E4ED7 #D7934E #93D74E
monochromatic
#1F1F8B #2B2BBD #4E4ED7 #8080E2 #B2B2EE

Accessibility & contrast

On white

6.19
#4E4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ED7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ED7#FFFFFF#000000##FFFFFF
##4E4ED71.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4ed7;
/* rgb */ color: rgb(78, 78, 215);
/* oklch */ color: oklch(51.0% 0.204 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f80e4',
    500: '#4e4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ed7;
$custom-light: #8f80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ed7",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.20412,
    "h": 276.4
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#4E4ED7
secondary
#DCDCA5
accent
#E642E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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