#4E3EDA#4E3EDA

#4E3EDA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.8% C 0.225 H 278.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4E3EDA
RGBrgb(78, 62, 218)
HSLhsl(246, 68%, 55%)
HSVhsv(246, 72%, 85%)
CMYKcmyk(64.2%, 71.6%, 0%, 14.5%)
CIE-LABlab(38.07, 51.48, -77.19)
CIE-LCHlch(38.07, 92.78, 303.70°)
OKLaboklab(48.83% 0.0337 -0.2228)
OKLCHoklch(48.83% 0.225 278.6)
XYZxyz(17.5153, 10.1255, 67.3475)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EDA #CADA3E
analogous
#3E7CDA #4E3EDA #9C3EDA
triadic
#4E3EDA #DA4E3E #3EDA4E
tetradic
#4E3EDA #DA3E7C #CADA3E #3EDA9C
square
#4E3EDA #DA3E7C #CADA3E #3EDA9C
split-complementary
#4E3EDA #DA9C3E #7CDA3E
monochromatic
#241984 #3223B8 #4E3EDA #7D71E4 #ACA5EE

Accessibility & contrast

On white

6.94
#4E3EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E3EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E3EDA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EDA#FFFFFF#000000##FFFFFF
##4E3EDA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e3eda;
/* rgb */ color: rgb(78, 62, 218);
/* oklch */ color: oklch(48.8% 0.225 278.6);
Tailwind
colors: {
  custom: {
    50: '#9076e7',
    500: '#4e3eda',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eda;
$custom-light: #9076e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eda",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 246.154,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.22535,
    "h": 278.6
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#4E3EDA
secondary
#D4DB99
accent
#EB3DD9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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