#4E4CCA#4E4CCA

#4E4CCA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.190 H 277.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4CCA
RGBrgb(78, 76, 202)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 62%, 79%)
CMYKcmyk(61.4%, 62.4%, 0%, 20.8%)
CIE-LABlab(39.67, 38.32, -65.34)
CIE-LCHlch(39.67, 75.75, 300.39°)
OKLaboklab(49.56% 0.0252 -0.1881)
OKLCHoklch(49.56% 0.19 277.6)
XYZxyz(16.3836, 11.0516, 57.1355)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CCA #C8CA4C
analogous
#4C89CA #4E4CCA #8D4CCA
triadic
#4E4CCA #CA4E4C #4CCA4E
tetradic
#4E4CCA #CA4C89 #C8CA4C #4CCA8D
square
#4E4CCA #CA4C89 #C8CA4C #4CCA8D
split-complementary
#4E4CCA #CA8D4C #89CA4C
monochromatic
#252478 #3332A7 #4E4CCA #7D7BD8 #ABAAE6

Accessibility & contrast

On white

6.54
#4E4CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E4CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4CCA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CCA#FFFFFF#000000##FFFFFF
##4E4CCA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e4cca;
/* rgb */ color: rgb(78, 76, 202);
/* oklch */ color: oklch(49.6% 0.190 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c7edb',
    500: '#4e4cca',
    950: '#000000',
  },
}
SCSS
$custom: #4e4cca;
$custom-light: #8c7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4cca",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 240.952,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.18978,
    "h": 277.6
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#4E4CCA
secondary
#D3D49E
accent
#DE4ADB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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