#4E5FD2#4E5FD2

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

Color values

HEX#4E5FD2
RGBrgb(78, 95, 210)
HSLhsl(232, 59%, 56%)
HSVhsv(232, 63%, 82%)
CMYKcmyk(62.9%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.88, 29.24, -61.48)
CIE-LCHlch(44.88, 68.08, 295.44°)
OKLaboklab(53.61% 0.0081 -0.1766)
OKLCHoklch(53.61% 0.177 272.6)
XYZxyz(18.8631, 14.4557, 62.7564)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FD2 #D2C14E
analogous
#4EA1D2 #4E5FD2 #7F4ED2
triadic
#4E5FD2 #D24E5F #5FD24E
tetradic
#4E5FD2 #D24EA1 #D2C14E #4ED27F
square
#4E5FD2 #D24EA1 #D2C14E #4ED27F
split-complementary
#4E5FD2 #D27F4E #A1D24E
monochromatic
#222E84 #2E3FB5 #4E5FD2 #7F8BDE #B0B7EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5FD2#FFFFFF#000000##FFFFFF
##4E5FD21.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)
#0070D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5fd2;
/* rgb */ color: rgb(78, 95, 210);
/* oklch */ color: oklch(53.6% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ce1',
    500: '#4e5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fd2;
$custom-light: #8d8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fd2",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 232.273,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.17677,
    "h": 272.6
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#4E5FD2
secondary
#D9D2A3
accent
#CE45E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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