#4E4EDB#4E4EDB

#4E4EDB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.3% C 0.209 H 276.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E4EDB
RGBrgb(78, 78, 219)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 64%, 86%)
CMYKcmyk(64.4%, 64.4%, 0%, 14.1%)
CIE-LABlab(41.50, 42.68, -72.12)
CIE-LCHlch(41.50, 83.81, 300.62°)
OKLaboklab(51.33% 0.0223 -0.208)
OKLCHoklch(51.33% 0.209 276.1)
XYZxyz(18.6483, 12.1814, 68.3726)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EDB #DBDB4E
analogous
#4E94DB #4E4EDB #944EDB
triadic
#4E4EDB #DB4E4E #4EDB4E
tetradic
#4E4EDB #DB4E94 #DBDB4E #4EDB94
square
#4E4EDB #DB4E94 #DBDB4E #4EDB94
split-complementary
#4E4EDB #DB944E #94DB4E
monochromatic
#1E1E91 #2828C4 #4E4EDB #8181E5 #B4B4F0

Accessibility & contrast

On white

6.11
#4E4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EDB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EDB#FFFFFF#000000##FFFFFF
##4E4EDB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e4edb;
/* rgb */ color: rgb(78, 78, 219);
/* oklch */ color: oklch(51.3% 0.209 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f80e7',
    500: '#4e4edb',
    950: '#000000',
  },
}
SCSS
$custom: #4e4edb;
$custom-light: #8f80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4edb",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.20918,
    "h": 276.1
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#4E4EDB
secondary
#DEDEA6
accent
#E93FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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