#4E4ED8#4E4ED8

#4E4ED8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.205 H 276.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4ED8
RGBrgb(78, 78, 216)
HSLhsl(240, 64%, 58%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(63.9%, 63.9%, 0%, 15.3%)
CIE-LABlab(41.26, 41.70, -70.81)
CIE-LCHlch(41.26, 82.18, 300.49°)
OKLaboklab(51.08% 0.0225 -0.2041)
OKLCHoklch(51.08% 0.205 276.3)
XYZxyz(18.2569, 12.0248, 66.3114)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ED8 #D8D84E
analogous
#4E93D8 #4E4ED8 #934ED8
triadic
#4E4ED8 #D84E4E #4ED84E
tetradic
#4E4ED8 #D84E93 #D8D84E #4ED893
square
#4E4ED8 #D84E93 #D8D84E #4ED893
split-complementary
#4E4ED8 #D8934E #93D84E
monochromatic
#1F1F8D #2A2ABF #4E4ED8 #8080E3 #B2B2EE

Accessibility & contrast

On white

6.17
#4E4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E4ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ED8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ED8#FFFFFF#000000##FFFFFF
##4E4ED81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4ed8;
/* rgb */ color: rgb(78, 78, 216);
/* oklch */ color: oklch(51.1% 0.205 276.3);
Tailwind
colors: {
  custom: {
    50: '#8f80e5',
    500: '#4e4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ed8;
$custom-light: #8f80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ed8",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.20539,
    "h": 276.3
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#4E4ED8
secondary
#DDDDA5
accent
#E741E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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