#4E4FE1#4E4FE1

#4E4FE1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.216 H 275.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E4FE1
RGBrgb(78, 79, 225)
HSLhsl(240, 71%, 59%)
HSVhsv(240, 65%, 88%)
CMYKcmyk(65.3%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.23, 44.05, -74.36)
CIE-LCHlch(42.23, 86.43, 300.64°)
OKLaboklab(52.01% 0.021 -0.2146)
OKLCHoklch(52.01% 0.216 275.6)
XYZxyz(19.5240, 12.6462, 72.6316)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FE1 #E1E04E
analogous
#4E99E1 #4E4FE1 #974EE1
triadic
#4E4FE1 #E14E4F #4FE14E
tetradic
#4E4FE1 #E14E99 #E1E04E #4EE197
square
#4E4FE1 #E14E99 #E1E04E #4EE197
split-complementary
#4E4FE1 #E1974E #99E14E
monochromatic
#1A1B9A #2324CF #4E4FE1 #8283EA #B7B7F3

Accessibility & contrast

On white

5.95
#4E4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FE1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FE1#FFFFFF#000000##FFFFFF
##4E4FE11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e4fe1;
/* rgb */ color: rgb(78, 79, 225);
/* oklch */ color: oklch(52.0% 0.216 275.6);
Tailwind
colors: {
  custom: {
    50: '#9081ec',
    500: '#4e4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fe1;
$custom-light: #9081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fe1",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 239.592,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.21559,
    "h": 275.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#4E4FE1
secondary
#E2E2A9
accent
#ED3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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