#4E4CEB#4E4CEB

#4E4CEB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.4% C 0.231 H 275.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4E4CEB
RGBrgb(78, 76, 235)
HSLhsl(241, 80%, 61%)
HSVhsv(241, 68%, 92%)
CMYKcmyk(66.8%, 67.7%, 0%, 7.8%)
CIE-LABlab(42.44, 49.02, -79.68)
CIE-LCHlch(42.44, 93.56, 301.60°)
OKLaboklab(52.43% 0.022 -0.2301)
OKLCHoklch(52.43% 0.231 275.5)
XYZxyz(20.7168, 12.7849, 79.9571)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CEB #E9EB4C
analogous
#4C99EB #4E4CEB #9D4CEB
triadic
#4E4CEB #EB4E4C #4CEB4E
tetradic
#4E4CEB #EB4C99 #E9EB4C #4CEB9D
square
#4E4CEB #EB4C99 #E9EB4C #4CEB9D
split-complementary
#4E4CEB #EB9D4C #99EB4C
monochromatic
#1513AA #1C19E1 #4E4CEB #8483F1 #BBBAF7

Accessibility & contrast

On white

5.90
#4E4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4E4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4CEB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CEB#FFFFFF#000000##FFFFFF
##4E4CEB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e4ceb;
/* rgb */ color: rgb(78, 76, 235);
/* oklch */ color: oklch(52.4% 0.231 275.5);
Tailwind
colors: {
  custom: {
    50: '#927ff3',
    500: '#4e4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ceb;
$custom-light: #927ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ceb",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 240.755,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.23119,
    "h": 275.5
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#4E4CEB
secondary
#E7E7AB
accent
#DC09DA
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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