#4E5FE0#4E5FE0

#4E5FE0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.195 H 272.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E5FE0
RGBrgb(78, 95, 224)
HSLhsl(233, 70%, 59%)
HSVhsv(233, 65%, 88%)
CMYKcmyk(65.2%, 57.6%, 0%, 12.2%)
CIE-LABlab(45.89, 34.00, -67.82)
CIE-LCHlch(45.89, 75.87, 296.63°)
OKLaboklab(54.68% 0.0085 -0.1952)
OKLCHoklch(54.68% 0.195 272.5)
XYZxyz(20.6841, 15.1841, 72.3473)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FE0 #E0CF4E
analogous
#4EA8E0 #4E5FE0 #864EE0
triadic
#4E5FE0 #E04E5F #5FE04E
tetradic
#4E5FE0 #E04EA8 #E0CF4E #4EE086
square
#4E5FE0 #E04EA8 #E0CF4E #4EE086
split-complementary
#4E5FE0 #E0864E #A8E04E
monochromatic
#1B2999 #2438CD #4E5FE0 #828EE9 #B6BDF2

Accessibility & contrast

On white

5.20
#4E5FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E5FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FE0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FE0#FFFFFF#000000##FFFFFF
##4E5FE01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e5fe0;
/* rgb */ color: rgb(78, 95, 224);
/* oklch */ color: oklch(54.7% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ceb',
    500: '#4e5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fe0;
$custom-light: #8f8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fe0",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 233.014,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54681,
    "c": 0.19542,
    "h": 272.5
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#4E5FE0
secondary
#E1DBA8
accent
#D83BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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