#4E4FD5#4E4FD5

#4E4FD5 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.0% C 0.200 H 276.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4FD5
RGBrgb(78, 79, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 63%, 84%)
CMYKcmyk(63.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(41.24, 40.12, -69.12)
CIE-LCHlch(41.24, 79.92, 300.13°)
OKLaboklab(50.99% 0.022 -0.1992)
OKLCHoklch(50.99% 0.2 276.3)
XYZxyz(17.9442, 12.0143, 64.3113)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FD5 #D5D44E
analogous
#4E92D5 #4E4FD5 #914ED5
triadic
#4E4FD5 #D54E4F #4FD54E
tetradic
#4E4FD5 #D54E92 #D5D44E #4ED591
square
#4E4FD5 #D54E92 #D5D44E #4ED591
split-complementary
#4E4FD5 #D5914E #92D54E
monochromatic
#202188 #2C2DBA #4E4FD5 #7F80E1 #B1B1EC

Accessibility & contrast

On white

6.17
#4E4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FD5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FD5#FFFFFF#000000##FFFFFF
##4E4FD51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4fd5;
/* rgb */ color: rgb(78, 79, 213);
/* oklch */ color: oklch(51.0% 0.200 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e81e3',
    500: '#4e4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fd5;
$custom-light: #8e81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fd5",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 239.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.20038,
    "h": 276.3
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#4E4FD5
secondary
#DBDAA4
accent
#E443E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4E4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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