#4E5FDE#4E5FDE

#4E5FDE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.193 H 272.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E5FDE
RGBrgb(78, 95, 222)
HSLhsl(233, 69%, 59%)
HSVhsv(233, 65%, 87%)
CMYKcmyk(64.9%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.74, 33.32, -66.93)
CIE-LCHlch(45.74, 74.76, 296.47°)
OKLaboklab(54.53% 0.0085 -0.1926)
OKLCHoklch(54.53% 0.193 272.5)
XYZxyz(20.4145, 15.0762, 70.9273)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FDE #DECD4E
analogous
#4EA7DE #4E5FDE #854EDE
triadic
#4E5FDE #DE4E5F #5FDE4E
tetradic
#4E5FDE #DE4EA7 #DECD4E #4EDE85
square
#4E5FDE #DE4EA7 #DECD4E #4EDE85
split-complementary
#4E5FDE #DE854E #A7DE4E
monochromatic
#1C2A96 #2639C9 #4E5FDE #828EE8 #B5BCF1

Accessibility & contrast

On white

5.23
#4E5FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4E5FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FDE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FDE#FFFFFF#000000##FFFFFF
##4E5FDE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e5fde;
/* rgb */ color: rgb(78, 95, 222);
/* oklch */ color: oklch(54.5% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ce9',
    500: '#4e5fde',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fde;
$custom-light: #8f8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fde",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 232.917,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.1928,
    "h": 272.5
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#4E5FDE
secondary
#E0DAA8
accent
#D73CEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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