#4E52D8#4E52D8

#4E52D8 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.201 H 275.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E52D8
RGBrgb(78, 82, 216)
HSLhsl(238, 64%, 58%)
HSVhsv(238, 64%, 85%)
CMYKcmyk(63.9%, 62%, 0%, 15.3%)
CIE-LABlab(42.17, 39.29, -69.32)
CIE-LCHlch(42.17, 79.68, 299.55°)
OKLaboklab(51.74% 0.0194 -0.1997)
OKLCHoklch(51.74% 0.201 275.5)
XYZxyz(18.5498, 12.6106, 66.4090)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52D8 #D8D44E
analogous
#4E97D8 #4E52D8 #8F4ED8
triadic
#4E52D8 #D84E52 #52D84E
tetradic
#4E52D8 #D84E97 #D8D44E #4ED88F
square
#4E52D8 #D84E97 #D8D44E #4ED88F
split-complementary
#4E52D8 #D88F4E #97D84E
monochromatic
#1F228D #2A2EBF #4E52D8 #8083E3 #B2B4EE

Accessibility & contrast

On white

5.96
#4E52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52D8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52D8#FFFFFF#000000##FFFFFF
##4E52D81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e52d8;
/* rgb */ color: rgb(78, 82, 216);
/* oklch */ color: oklch(51.7% 0.201 275.5);
Tailwind
colors: {
  custom: {
    50: '#8e83e5',
    500: '#4e52d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e52d8;
$custom-light: #8e83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52d8",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 238.261,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.20068,
    "h": 275.5
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#4E52D8
secondary
#DDDBA5
accent
#E241E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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