#4E5CD6#4E5CD6

#4E5CD6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.186 H 273.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4E5CD6
RGBrgb(78, 92, 214)
HSLhsl(234, 62%, 57%)
HSVhsv(234, 64%, 84%)
CMYKcmyk(63.6%, 57%, 0%, 16.1%)
CIE-LABlab(44.42, 32.47, -64.52)
CIE-LCHlch(44.42, 72.23, 296.71°)
OKLaboklab(53.36% 0.011 -0.1856)
OKLCHoklch(53.36% 0.186 273.4)
XYZxyz(19.1026, 14.1274, 65.3255)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CD6 #D6C84E
analogous
#4EA0D6 #4E5CD6 #844ED6
triadic
#4E5CD6 #D64E5C #5CD64E
tetradic
#4E5CD6 #D64EA0 #D6C84E #4ED684
square
#4E5CD6 #D64EA0 #D6C84E #4ED684
split-complementary
#4E5CD6 #D6844E #A0D64E
monochromatic
#202B8A #2B3ABB #4E5CD6 #808AE2 #B1B8ED

Accessibility & contrast

On white

5.49
#4E5CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E5CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CD6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CD6#FFFFFF#000000##FFFFFF
##4E5CD61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5cd6;
/* rgb */ color: rgb(78, 92, 214);
/* oklch */ color: oklch(53.4% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d8ae3',
    500: '#4e5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cd6;
$custom-light: #8d8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cd6",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 233.824,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.18588,
    "h": 273.4
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#4E5CD6
secondary
#DBD6A4
accent
#D542E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4E5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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