#4E5CD5#4E5CD5

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

Color values

HEX#4E5CD5
RGBrgb(78, 92, 213)
HSLhsl(234, 62%, 57%)
HSVhsv(234, 63%, 84%)
CMYKcmyk(63.4%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.34, 32.13, -64.06)
CIE-LCHlch(44.34, 71.67, 296.63°)
OKLaboklab(53.28% 0.0109 -0.1842)
OKLCHoklch(53.28% 0.185 273.4)
XYZxyz(18.9753, 14.0765, 64.6550)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CD5 #D5C74E
analogous
#4E9FD5 #4E5CD5 #844ED5
triadic
#4E5CD5 #D54E5C #5CD54E
tetradic
#4E5CD5 #D54E9F #D5C74E #4ED584
square
#4E5CD5 #D54E9F #D5C74E #4ED584
split-complementary
#4E5CD5 #D5844E #9FD54E
monochromatic
#202B88 #2C3BBA #4E5CD5 #7F8AE1 #B1B7EC

Accessibility & contrast

On white

5.50
#4E5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4E5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CD5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CD5#FFFFFF#000000##FFFFFF
##4E5CD51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5cd5;
/* rgb */ color: rgb(78, 92, 213);
/* oklch */ color: oklch(53.3% 0.185 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d8ae3',
    500: '#4e5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cd5;
$custom-light: #8d8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cd5",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 233.778,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.18454,
    "h": 273.4
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#4E5CD5
secondary
#DBD5A4
accent
#D443E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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