#4E4ECD#4E4ECD

#4E4ECD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.191 H 277.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4E4ECD
RGBrgb(78, 78, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(62%, 62%, 0%, 19.6%)
CIE-LABlab(40.37, 38.09, -65.93)
CIE-LCHlch(40.37, 76.14, 300.02°)
OKLaboklab(50.15% 0.0233 -0.1898)
OKLCHoklch(50.15% 0.191 277)
XYZxyz(16.8822, 11.4749, 59.0710)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ECD #CDCD4E
analogous
#4E8DCD #4E4ECD #8D4ECD
triadic
#4E4ECD #CD4E4E #4ECD4E
tetradic
#4E4ECD #CD4E8D #CDCD4E #4ECD8D
square
#4E4ECD #CD4E8D #CDCD4E #4ECD8D
split-complementary
#4E4ECD #CD8D4E #8DCD4E
monochromatic
#23237D #3131AD #4E4ECD #7E7EDA #ADADE8

Accessibility & contrast

On white

6.37
#4E4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4E4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ECD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ECD#FFFFFF#000000##FFFFFF
##4E4ECD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e4ecd;
/* rgb */ color: rgb(78, 78, 205);
/* oklch */ color: oklch(50.2% 0.191 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d80dd',
    500: '#4e4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ecd;
$custom-light: #8d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ecd",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.19124,
    "h": 277
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#4E4ECD
secondary
#D6D6A1
accent
#DF49DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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