#4E52DA#4E52DA

#4E52DA is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.203 H 275.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4E52DA
RGBrgb(78, 82, 218)
HSLhsl(238, 65%, 58%)
HSVhsv(238, 64%, 85%)
CMYKcmyk(64.2%, 62.4%, 0%, 14.5%)
CIE-LABlab(42.33, 39.95, -70.20)
CIE-LCHlch(42.33, 80.77, 299.65°)
OKLaboklab(51.91% 0.0192 -0.2023)
OKLCHoklch(51.91% 0.203 275.4)
XYZxyz(18.8099, 12.7146, 67.7790)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52DA #DAD64E
analogous
#4E98DA #4E52DA #904EDA
triadic
#4E52DA #DA4E52 #52DA4E
tetradic
#4E52DA #DA4E98 #DAD64E #4EDA90
square
#4E52DA #DA4E98 #DAD64E #4EDA90
split-complementary
#4E52DA #DA904E #98DA4E
monochromatic
#1E2190 #292DC2 #4E52DA #8183E5 #B3B5EF

Accessibility & contrast

On white

5.93
#4E52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52DA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52DA#FFFFFF#000000##FFFFFF
##4E52DA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e52da;
/* rgb */ color: rgb(78, 82, 218);
/* oklch */ color: oklch(51.9% 0.203 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f83e6',
    500: '#4e52da',
    950: '#000000',
  },
}
SCSS
$custom: #4e52da;
$custom-light: #8f83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52da",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 238.286,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.20324,
    "h": 275.4
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#4E52DA
secondary
#DEDCA6
accent
#E43FE8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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