#4E52DD#4E52DD

#4E52DD is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.207 H 275.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4E52DD
RGBrgb(78, 82, 221)
HSLhsl(238, 68%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(64.7%, 62.9%, 0%, 13.3%)
CIE-LABlab(42.57, 40.94, -71.52)
CIE-LCHlch(42.57, 82.41, 299.79°)
OKLaboklab(52.16% 0.0191 -0.2062)
OKLCHoklch(52.16% 0.207 275.3)
XYZxyz(19.2060, 12.8731, 69.8652)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52DD #DDD94E
analogous
#4E99DD #4E52DD #914EDD
triadic
#4E52DD #DD4E52 #52DD4E
tetradic
#4E52DD #DD4E99 #DDD94E #4EDD91
square
#4E52DD #DD4E99 #DDD94E #4EDD91
split-complementary
#4E52DD #DD914E #99DD4E
monochromatic
#1C2094 #262BC7 #4E52DD #8184E7 #B5B6F1

Accessibility & contrast

On white

5.87
#4E52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4E52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52DD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52DD#FFFFFF#000000##FFFFFF
##4E52DD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e52dd;
/* rgb */ color: rgb(78, 82, 221);
/* oklch */ color: oklch(52.2% 0.207 275.3);
Tailwind
colors: {
  custom: {
    50: '#8f83e9',
    500: '#4e52dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e52dd;
$custom-light: #8f83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52dd",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 238.322,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.20708,
    "h": 275.3
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#4E52DD
secondary
#E0DEA7
accent
#E63DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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