#4E34D1#4E34D1

#4E34D1 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.225 H 280.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E34D1
RGBrgb(78, 52, 209)
HSLhsl(250, 63%, 51%)
HSVhsv(250, 75%, 82%)
CMYKcmyk(62.7%, 75.1%, 0%, 18%)
CIE-LABlab(35.36, 53.99, -76.46)
CIE-LCHlch(35.36, 93.60, 305.23°)
OKLaboklab(46.66% 0.0419 -0.2206)
OKLCHoklch(46.66% 0.225 280.8)
XYZxyz(15.8749, 8.6779, 61.1477)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34D1 #B7D134
analogous
#3468D1 #4E34D1 #9C34D1
triadic
#4E34D1 #D14E34 #34D14E
tetradic
#4E34D1 #D13468 #B7D134 #34D19C
square
#4E34D1 #D13468 #B7D134 #34D19C
split-complementary
#4E34D1 #D19C34 #68D134
monochromatic
#281A71 #3A25A3 #4E34D1 #7A66DC #A598E8

Accessibility & contrast

On white

7.68
#4E34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34D1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34D1#FFFFFF#000000##FFFFFF
##4E34D11.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004DCE
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e34d1;
/* rgb */ color: rgb(78, 52, 209);
/* oklch */ color: oklch(46.7% 0.225 280.8);
Tailwind
colors: {
  custom: {
    50: '#8f6fe0',
    500: '#4e34d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e34d1;
$custom-light: #8f6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34d1",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 249.936,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.22458,
    "h": 280.8
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#4E34D1
secondary
#C8D38E
accent
#E642CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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