#4E2DFB#4E2DFB

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

Color values

HEX#4E2DFB
RGBrgb(78, 45, 251)
HSLhsl(250, 96%, 58%)
HSVhsv(250, 82%, 98%)
CMYKcmyk(68.9%, 82.1%, 0%, 1.6%)
CIE-LABlab(38.65, 69.01, -94.94)
CIE-LCHlch(38.65, 117.37, 306.01°)
OKLaboklab(50.23% 0.0337 -0.2743)
OKLCHoklch(50.23% 0.276 277)
XYZxyz(21.4872, 10.4595, 92.1346)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DFB #DAFB2D
analogous
#2D73FB #4E2DFB #B52DFB
triadic
#4E2DFB #FB4E2D #2DFB4E
tetradic
#4E2DFB #FB2D73 #DAFB2D #2DFBB5
square
#4E2DFB #FB2D73 #DAFB2D #2DFBB5
split-complementary
#4E2DFB #FBB52D #73FB2D
monochromatic
#1E03AA #2904E6 #4E2DFB #8169FC #B3A5FD

Accessibility & contrast

On white

6.79
#4E2DFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E2DFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E2DFB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DFB#FFFFFF#000000##FFFFFF
##4E2DFB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2dfb;
/* rgb */ color: rgb(78, 45, 251);
/* oklch */ color: oklch(50.2% 0.276 277.0);
Tailwind
colors: {
  custom: {
    50: '#986efe',
    500: '#4e2dfb',
    950: '#000000',
  },
}
SCSS
$custom: #4e2dfb;
$custom-light: #986efe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2dfb",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 251
  },
  "hsl": {
    "h": 249.612,
    "s": 96.262,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.27635,
    "h": 277
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#4E2DFB
secondary
#DEEB99
accent
#FF29DD
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #4E2DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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