#4E4FD7#4E4FD7

#4E4FD7 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.203 H 276.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E4FD7
RGBrgb(78, 79, 215)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(63.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(41.40, 40.77, -70.00)
CIE-LCHlch(41.40, 81.01, 300.22°)
OKLaboklab(51.15% 0.0218 -0.2018)
OKLCHoklch(51.15% 0.203 276.2)
XYZxyz(18.1996, 12.1164, 65.6564)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FD7 #D7D64E
analogous
#4E94D7 #4E4FD7 #914ED7
triadic
#4E4FD7 #D74E4F #4FD74E
tetradic
#4E4FD7 #D74E94 #D7D64E #4ED791
square
#4E4FD7 #D74E94 #D7D64E #4ED791
split-complementary
#4E4FD7 #D7914E #94D74E
monochromatic
#1F208B #2B2CBD #4E4FD7 #8081E2 #B2B2EE

Accessibility & contrast

On white

6.13
#4E4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FD7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FD7#FFFFFF#000000##FFFFFF
##4E4FD71.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e4fd7;
/* rgb */ color: rgb(78, 79, 215);
/* oklch */ color: oklch(51.2% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#8f81e4',
    500: '#4e4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fd7;
$custom-light: #8f81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fd7",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 239.562,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.20295,
    "h": 276.2
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#4E4FD7
secondary
#DCDCA5
accent
#E542E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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