#4E34D7#4E34D7

#4E34D7 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.2% C 0.231 H 280.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4E34D7
RGBrgb(78, 52, 215)
HSLhsl(250, 67%, 52%)
HSVhsv(250, 76%, 84%)
CMYKcmyk(63.7%, 75.8%, 0%, 15.7%)
CIE-LABlab(35.95, 55.75, -78.95)
CIE-LCHlch(35.95, 96.65, 305.23°)
OKLaboklab(47.25% 0.0404 -0.2279)
OKLCHoklch(47.25% 0.231 280.1)
XYZxyz(16.6317, 8.9807, 65.1338)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34D7 #BDD734
analogous
#346BD7 #4E34D7 #A034D7
triadic
#4E34D7 #D74E34 #34D74E
tetradic
#4E34D7 #D7346B #BDD734 #34D7A0
square
#4E34D7 #D7346B #BDD734 #34D7A0
split-complementary
#4E34D7 #D7A034 #6BD734
monochromatic
#271879 #3822AC #4E34D7 #7B67E1 #A79AEB

Accessibility & contrast

On white

7.51
#4E34D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E34D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34D7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34D7#FFFFFF#000000##FFFFFF
##4E34D71.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004ED4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e34d7;
/* rgb */ color: rgb(78, 52, 215);
/* oklch */ color: oklch(47.2% 0.231 280.1);
Tailwind
colors: {
  custom: {
    50: '#916fe5',
    500: '#4e34d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e34d7;
$custom-light: #916fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34d7",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 249.571,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.23146,
    "h": 280.1
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#4E34D7
secondary
#CCD790
accent
#EA3ECF
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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