#4E5CD4#4E5CD4

#4E5CD4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.183 H 273.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5CD4
RGBrgb(78, 92, 212)
HSLhsl(234, 61%, 57%)
HSVhsv(234, 63%, 83%)
CMYKcmyk(63.2%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.27, 31.79, -63.61)
CIE-LCHlch(44.27, 71.11, 296.56°)
OKLaboklab(53.2% 0.0109 -0.1829)
OKLCHoklch(53.2% 0.183 273.4)
XYZxyz(18.8488, 14.0259, 63.9886)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CD4 #D4C64E
analogous
#4E9FD4 #4E5CD4 #834ED4
triadic
#4E5CD4 #D44E5C #5CD44E
tetradic
#4E5CD4 #D44E9F #D4C64E #4ED483
square
#4E5CD4 #D44E9F #D4C64E #4ED483
split-complementary
#4E5CD4 #D4834E #9FD44E
monochromatic
#212B87 #2D3BB8 #4E5CD4 #7F89E0 #B0B7EC

Accessibility & contrast

On white

5.52
#4E5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CD4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CD4#FFFFFF#000000##FFFFFF
##4E5CD41.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5cd4;
/* rgb */ color: rgb(78, 92, 212);
/* oklch */ color: oklch(53.2% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d8ae2',
    500: '#4e5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cd4;
$custom-light: #8d8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cd4",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 233.731,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.18322,
    "h": 273.4
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#4E5CD4
secondary
#DAD5A4
accent
#D344E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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