#4E34D6#4E34D6

#4E34D6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.1% C 0.230 H 280.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4E34D6
RGBrgb(78, 52, 214)
HSLhsl(250, 66%, 52%)
HSVhsv(250, 76%, 84%)
CMYKcmyk(63.6%, 75.7%, 0%, 16.1%)
CIE-LABlab(35.85, 55.46, -78.54)
CIE-LCHlch(35.85, 96.15, 305.23°)
OKLaboklab(47.15% 0.0407 -0.2267)
OKLCHoklch(47.15% 0.23 280.2)
XYZxyz(16.5036, 8.9294, 64.4591)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34D6 #BCD634
analogous
#346BD6 #4E34D6 #9F34D6
triadic
#4E34D6 #D64E34 #34D64E
tetradic
#4E34D6 #D6346B #BCD634 #34D69F
square
#4E34D6 #D6346B #BCD634 #34D69F
split-complementary
#4E34D6 #D69F34 #6BD634
monochromatic
#271877 #3822AA #4E34D6 #7A67E0 #A79AEB

Accessibility & contrast

On white

7.54
#4E34D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E34D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34D6
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34D6#FFFFFF#000000##FFFFFF
##4E34D61.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADB
Deuteranopia (green-blind)
#004ED3
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e34d6;
/* rgb */ color: rgb(78, 52, 214);
/* oklch */ color: oklch(47.1% 0.230 280.2);
Tailwind
colors: {
  custom: {
    50: '#906fe4',
    500: '#4e34d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e34d6;
$custom-light: #906fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34d6",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 214
  },
  "hsl": {
    "h": 249.63,
    "s": 66.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.23032,
    "h": 280.2
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#4E34D6
secondary
#CBD690
accent
#E93ECE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E34D6

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

Preview Lab → · Contrast checker → · Palette generator →

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