#4E5ED5#4E5ED5

#4E5ED5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.182 H 272.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED5
RGBrgb(78, 94, 213)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 63%, 84%)
CMYKcmyk(63.4%, 55.9%, 0%, 16.5%)
CIE-LABlab(44.84, 30.88, -63.26)
CIE-LCHlch(44.84, 70.39, 296.02°)
OKLaboklab(53.65% 0.0092 -0.1818)
OKLCHoklch(53.65% 0.182 272.9)
XYZxyz(19.1508, 14.4276, 64.7135)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED5 #D5C54E
analogous
#4EA2D5 #4E5ED5 #824ED5
triadic
#4E5ED5 #D54E5E #5ED54E
tetradic
#4E5ED5 #D54EA2 #D5C54E #4ED582
square
#4E5ED5 #D54EA2 #D5C54E #4ED582
split-complementary
#4E5ED5 #D5824E #A2D54E
monochromatic
#202D88 #2C3DBA #4E5ED5 #7F8BE1 #B1B8EC

Accessibility & contrast

On white

5.40
#4E5ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E5ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED5#FFFFFF#000000##FFFFFF
##4E5ED51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5ed5;
/* rgb */ color: rgb(78, 94, 213);
/* oklch */ color: oklch(53.6% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d8be3',
    500: '#4e5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed5;
$custom-light: #8d8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed5",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 232.889,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.18206,
    "h": 272.9
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#4E5ED5
secondary
#DBD4A4
accent
#D243E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4E5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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