#4E4FCE#4E4FCE

#4E4FCE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.191 H 276.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4FCE
RGBrgb(78, 79, 206)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(62.1%, 61.7%, 0%, 19.2%)
CIE-LABlab(40.68, 37.81, -66.00)
CIE-LCHlch(40.68, 76.06, 299.81°)
OKLaboklab(50.41% 0.0224 -0.19)
OKLCHoklch(50.41% 0.191 276.7)
XYZxyz(17.0748, 11.6665, 59.7326)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FCE #CECD4E
analogous
#4E8FCE #4E4FCE #8D4ECE
triadic
#4E4FCE #CE4E4F #4FCE4E
tetradic
#4E4FCE #CE4E8F #CECD4E #4ECE8D
square
#4E4FCE #CE4E8F #CECD4E #4ECE8D
split-complementary
#4E4FCE #CE8D4E #8FCE4E
monochromatic
#23247F #3031AE #4E4FCE #7E7FDB #AEAEE9

Accessibility & contrast

On white

6.30
#4E4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FCE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FCE#FFFFFF#000000##FFFFFF
##4E4FCE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e4fce;
/* rgb */ color: rgb(78, 79, 206);
/* oklch */ color: oklch(50.4% 0.191 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d80de',
    500: '#4e4fce',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fce;
$custom-light: #8d80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fce",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 239.531,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.19133,
    "h": 276.7
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#4E4FCE
secondary
#D7D6A1
accent
#DF48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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