#4E5FD4#4E5FD4

#4E5FD4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.179 H 272.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E5FD4
RGBrgb(78, 95, 212)
HSLhsl(232, 61%, 57%)
HSVhsv(232, 63%, 83%)
CMYKcmyk(63.2%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.02, 29.92, -62.39)
CIE-LCHlch(45.02, 69.20, 295.62°)
OKLaboklab(53.76% 0.0082 -0.1793)
OKLCHoklch(53.76% 0.179 272.6)
XYZxyz(19.1138, 14.5559, 64.0769)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FD4 #D4C34E
analogous
#4EA2D4 #4E5FD4 #804ED4
triadic
#4E5FD4 #D44E5F #5FD44E
tetradic
#4E5FD4 #D44EA2 #D4C34E #4ED480
square
#4E5FD4 #D44EA2 #D4C34E #4ED480
split-complementary
#4E5FD4 #D4804E #A2D44E
monochromatic
#212E87 #2D3EB8 #4E5FD4 #7F8CE0 #B0B8EC

Accessibility & contrast

On white

5.37
#4E5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4E5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FD4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FD4#FFFFFF#000000##FFFFFF
##4E5FD41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5fd4;
/* rgb */ color: rgb(78, 95, 212);
/* oklch */ color: oklch(53.8% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ce2',
    500: '#4e5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fd4;
$custom-light: #8d8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fd4",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 232.388,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.17947,
    "h": 272.6
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#4E5FD4
secondary
#DAD3A4
accent
#D044E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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