#4E4FE5#4E4FE5

#4E4FE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.221 H 275.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4E4FE5
RGBrgb(78, 79, 229)
HSLhsl(240, 74%, 60%)
HSVhsv(240, 66%, 90%)
CMYKcmyk(65.9%, 65.5%, 0%, 10.2%)
CIE-LABlab(42.56, 45.35, -76.08)
CIE-LCHlch(42.56, 88.57, 300.80°)
OKLaboklab(52.36% 0.0206 -0.2196)
OKLCHoklch(52.36% 0.221 275.4)
XYZxyz(20.0761, 12.8670, 75.5391)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FE5 #E5E44E
analogous
#4E9AE5 #4E4FE5 #994EE5
triadic
#4E4FE5 #E54E4F #4FE54E
tetradic
#4E4FE5 #E54E9A #E5E44E #4EE599
square
#4E4FE5 #E54E9A #E5E44E #4EE599
split-complementary
#4E4FE5 #E5994E #9AE54E
monochromatic
#1819A1 #1F21D6 #4E4FE5 #8384ED #B9B9F5

Accessibility & contrast

On white

5.88
#4E4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4E4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FE5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FE5#FFFFFF#000000##FFFFFF
##4E4FE51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e4fe5;
/* rgb */ color: rgb(78, 79, 229);
/* oklch */ color: oklch(52.4% 0.221 275.4);
Tailwind
colors: {
  custom: {
    50: '#9181ee',
    500: '#4e4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fe5;
$custom-light: #9181ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fe5",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 239.603,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.22057,
    "h": 275.4
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#4E4FE5
secondary
#E4E4AA
accent
#D50FD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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