#4E52FF#4E52FF

#4E52FF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.249 H 273.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E52FF
RGBrgb(78, 82, 255)
HSLhsl(239, 100%, 65%)
HSVhsv(239, 69%, 100%)
CMYKcmyk(69.4%, 67.8%, 0%, 0%)
CIE-LABlab(45.46, 52.01, -85.94)
CIE-LCHlch(45.46, 100.45, 301.18°)
OKLaboklab(55.15% 0.0158 -0.2484)
OKLCHoklch(55.15% 0.249 273.6)
XYZxyz(24.2032, 14.8719, 96.1834)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52FF #FFFB4E
analogous
#4EAAFF #4E52FF #A24EFF
triadic
#4E52FF #FF4E52 #52FF4E
tetradic
#4E52FF #FF4EAA #FFFB4E #4EFFA2
square
#4E52FF #FF4EAA #FFFB4E #4EFFA2
split-complementary
#4E52FF #FFA24E #AAFF4E
monochromatic
#0005D3 #1116FF #4E52FF #8B8EFF #C8CAFF

Accessibility & contrast

On white

5.28
#4E52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4E52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52FF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52FF#FFFFFF#000000##FFFFFF
##4E52FF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0063FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e52ff;
/* rgb */ color: rgb(78, 82, 255);
/* oklch */ color: oklch(55.1% 0.249 273.6);
Tailwind
colors: {
  custom: {
    50: '#9684ff',
    500: '#4e52ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e52ff;
$custom-light: #9684ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52ff",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 238.644,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.24892,
    "h": 273.6
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#4E52FF
secondary
#F2F1B7
accent
#E000E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4E52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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