#4E4FD8#4E4FD8

#4E4FD8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.2% C 0.204 H 276.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4FD8
RGBrgb(78, 79, 216)
HSLhsl(240, 64%, 58%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(63.9%, 63.4%, 0%, 15.3%)
CIE-LABlab(41.48, 41.10, -70.44)
CIE-LCHlch(41.48, 81.56, 300.26°)
OKLaboklab(51.24% 0.0217 -0.2031)
OKLCHoklch(51.24% 0.204 276.1)
XYZxyz(18.3285, 12.1680, 66.3352)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FD8 #D8D74E
analogous
#4E94D8 #4E4FD8 #924ED8
triadic
#4E4FD8 #D84E4F #4FD84E
tetradic
#4E4FD8 #D84E94 #D8D74E #4ED892
square
#4E4FD8 #D84E94 #D8D74E #4ED892
split-complementary
#4E4FD8 #D8924E #94D84E
monochromatic
#1F208D #2A2BBF #4E4FD8 #8081E3 #B2B3EE

Accessibility & contrast

On white

6.12
#4E4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FD8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FD8#FFFFFF#000000##FFFFFF
##4E4FD81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4fd8;
/* rgb */ color: rgb(78, 79, 216);
/* oklch */ color: oklch(51.2% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f81e5',
    500: '#4e4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fd8;
$custom-light: #8f81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fd8",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 239.565,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.20422,
    "h": 276.1
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#4E4FD8
secondary
#DDDCA5
accent
#E641E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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