#4E34D3#4E34D3

#4E34D3 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.9% C 0.227 H 280.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E34D3
RGBrgb(78, 52, 211)
HSLhsl(250, 64%, 52%)
HSVhsv(250, 75%, 83%)
CMYKcmyk(63%, 75.4%, 0%, 17.3%)
CIE-LABlab(35.55, 54.58, -77.30)
CIE-LCHlch(35.55, 94.62, 305.23°)
OKLaboklab(46.85% 0.0414 -0.2231)
OKLCHoklch(46.85% 0.227 280.5)
XYZxyz(16.1240, 8.7776, 62.4599)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34D3 #B9D334
analogous
#346AD3 #4E34D3 #9D34D3
triadic
#4E34D3 #D34E34 #34D34E
tetradic
#4E34D3 #D3346A #B9D334 #34D39D
square
#4E34D3 #D3346A #B9D334 #34D39D
split-complementary
#4E34D3 #D39D34 #6AD334
monochromatic
#281974 #3924A6 #4E34D3 #7A66DE #A699E9

Accessibility & contrast

On white

7.62
#4E34D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E34D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34D3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34D3#FFFFFF#000000##FFFFFF
##4E34D31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#006282
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e34d3;
/* rgb */ color: rgb(78, 52, 211);
/* oklch */ color: oklch(46.9% 0.227 280.5);
Tailwind
colors: {
  custom: {
    50: '#906fe2',
    500: '#4e34d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e34d3;
$custom-light: #906fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34d3",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 249.811,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.22688,
    "h": 280.5
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#4E34D3
secondary
#C9D48E
accent
#E740CC
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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