#4E5EC4#4E5EC4

#4E5EC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.159 H 273.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E5EC4
RGBrgb(78, 94, 196)
HSLhsl(232, 50%, 54%)
HSVhsv(232, 60%, 77%)
CMYKcmyk(60.2%, 52%, 0%, 23.1%)
CIE-LABlab(43.67, 25.11, -55.38)
CIE-LCHlch(43.67, 60.80, 294.39°)
OKLaboklab(52.4% 0.0083 -0.1586)
OKLCHoklch(52.4% 0.159 273)
XYZxyz(17.1051, 13.6093, 53.9393)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC4 #C4B44E
analogous
#4E99C4 #4E5EC4 #794EC4
triadic
#4E5EC4 #C44E5E #5EC44E
tetradic
#4E5EC4 #C44E99 #C4B44E #4EC479
square
#4E5EC4 #C44E99 #C4B44E #4EC479
split-complementary
#4E5EC4 #C4794E #99C44E
monochromatic
#263072 #3544A0 #4E5EC4 #7C88D3 #AAB2E3

Accessibility & contrast

On white

5.64
#4E5EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4E5EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC4#FFFFFF#000000##FFFFFF
##4E5EC41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226DC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec4;
/* rgb */ color: rgb(78, 94, 196);
/* oklch */ color: oklch(52.4% 0.159 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8bd6',
    500: '#4e5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec4;
$custom-light: #8a8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec4",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 231.864,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.15885,
    "h": 273
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#4E5EC4
secondary
#D0C99E
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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