#4E52EB#4E52EB

#4E52EB is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.225 H 274.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E52EB
RGBrgb(78, 82, 235)
HSLhsl(238, 80%, 61%)
HSVhsv(238, 67%, 92%)
CMYKcmyk(66.8%, 65.1%, 0%, 7.8%)
CIE-LABlab(43.73, 45.54, -77.57)
CIE-LCHlch(43.73, 89.95, 300.42°)
OKLaboklab(53.36% 0.018 -0.2239)
OKLCHoklch(53.36% 0.225 274.6)
XYZxyz(21.1496, 13.6505, 80.1014)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52EB #EBE74E
analogous
#4EA1EB #4E52EB #994EEB
triadic
#4E52EB #EB4E52 #52EB4E
tetradic
#4E52EB #EB4EA1 #EBE74E #4EEB99
square
#4E52EB #EB4EA1 #EBE74E #4EEB99
split-complementary
#4E52EB #EB994E #A1EB4E
monochromatic
#1317AB #1A1FE2 #4E52EB #8588F1 #BCBDF7

Accessibility & contrast

On white

5.63
#4E52EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E52EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52EB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52EB#FFFFFF#000000##FFFFFF
##4E52EB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e52eb;
/* rgb */ color: rgb(78, 82, 235);
/* oklch */ color: oklch(53.4% 0.225 274.6);
Tailwind
colors: {
  custom: {
    50: '#9283f3',
    500: '#4e52eb',
    950: '#000000',
  },
}
SCSS
$custom: #4e52eb;
$custom-light: #9283f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52eb",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 238.471,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.22466,
    "h": 274.6
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#4E52EB
secondary
#E8E6AD
accent
#D709DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #4E52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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