#4E52D2#4E52D2

#4E52D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.193 H 275.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4E52D2
RGBrgb(78, 82, 210)
HSLhsl(238, 59%, 56%)
HSVhsv(238, 63%, 82%)
CMYKcmyk(62.9%, 61%, 0%, 17.6%)
CIE-LABlab(41.70, 37.30, -66.64)
CIE-LCHlch(41.70, 76.37, 299.24°)
OKLaboklab(51.25% 0.0196 -0.1919)
OKLCHoklch(51.25% 0.193 275.8)
XYZxyz(17.7882, 12.3060, 62.3982)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52D2 #D2CE4E
analogous
#4E94D2 #4E52D2 #8C4ED2
triadic
#4E52D2 #D24E52 #52D24E
tetradic
#4E52D2 #D24E94 #D2CE4E #4ED28C
square
#4E52D2 #D24E94 #D2CE4E #4ED28C
split-complementary
#4E52D2 #D28C4E #94D24E
monochromatic
#222584 #2E32B5 #4E52D2 #7F82DE #B0B1EB

Accessibility & contrast

On white

6.07
#4E52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4E52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52D2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52D2#FFFFFF#000000##FFFFFF
##4E52D21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e52d2;
/* rgb */ color: rgb(78, 82, 210);
/* oklch */ color: oklch(51.2% 0.193 275.8);
Tailwind
colors: {
  custom: {
    50: '#8d83e1',
    500: '#4e52d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e52d2;
$custom-light: #8d83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52d2",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 238.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.19289,
    "h": 275.8
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#4E52D2
secondary
#D9D7A3
accent
#DE45E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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