#4E2EFB#4E2EFB

#4E2EFB is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 50.3% C 0.276 H 276.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2EFB
RGBrgb(78, 46, 251)
HSLhsl(249, 96%, 58%)
HSVhsv(249, 82%, 98%)
CMYKcmyk(68.9%, 81.7%, 0%, 1.6%)
CIE-LABlab(38.79, 68.61, -94.71)
CIE-LCHlch(38.79, 116.96, 305.92°)
OKLaboklab(50.32% 0.0333 -0.2737)
OKLCHoklch(50.32% 0.276 276.9)
XYZxyz(21.5258, 10.5367, 92.1475)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2EFB #DBFB2E
analogous
#2E74FB #4E2EFB #B42EFB
triadic
#4E2EFB #FB4E2E #2EFB4E
tetradic
#4E2EFB #FB2E74 #DBFB2E #2EFBB4
square
#4E2EFB #FB2E74 #DBFB2E #2EFBB4
split-complementary
#4E2EFB #FBB42E #74FB2E
monochromatic
#1E03AB #2804E7 #4E2EFB #816AFC #B4A6FD

Accessibility & contrast

On white

6.76
#4E2EFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E2EFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E2EFB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2EFB#FFFFFF#000000##FFFFFF
##4E2EFB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FF
Deuteranopia (green-blind)
#0053F8
Tritanopia (blue-blind)
#007098
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e2efb;
/* rgb */ color: rgb(78, 46, 251);
/* oklch */ color: oklch(50.3% 0.276 276.9);
Tailwind
colors: {
  custom: {
    50: '#986efe',
    500: '#4e2efb',
    950: '#000000',
  },
}
SCSS
$custom: #4e2efb;
$custom-light: #986efe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2efb",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 251
  },
  "hsl": {
    "h": 249.366,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.27568,
    "h": 276.9
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#4E2EFB
secondary
#DEEB9A
accent
#FF29DE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4E2EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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