#4E4CCC#4E4CCC

#4E4CCC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.192 H 277.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4E4CCC
RGBrgb(78, 76, 204)
HSLhsl(241, 56%, 55%)
HSVhsv(241, 63%, 80%)
CMYKcmyk(61.8%, 62.7%, 0%, 20%)
CIE-LABlab(39.83, 38.98, -66.24)
CIE-LCHlch(39.83, 76.85, 300.47°)
OKLaboklab(49.73% 0.0251 -0.1907)
OKLCHoklch(49.73% 0.192 277.5)
XYZxyz(16.6219, 11.1469, 58.3907)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CCC #CACC4C
analogous
#4C8ACC #4E4CCC #8E4CCC
triadic
#4E4CCC #CC4E4C #4CCC4E
tetradic
#4E4CCC #CC4C8A #CACC4C #4CCC8E
square
#4E4CCC #CC4C8A #CACC4C #4CCC8E
split-complementary
#4E4CCC #CC8E4C #8ACC4C
monochromatic
#24237B #3231AA #4E4CCC #7D7CDA #ACABE7

Accessibility & contrast

On white

6.50
#4E4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4CCC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CCC#FFFFFF#000000##FFFFFF
##4E4CCC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4ccc;
/* rgb */ color: rgb(78, 76, 204);
/* oklch */ color: oklch(49.7% 0.192 277.5);
Tailwind
colors: {
  custom: {
    50: '#8d7edd',
    500: '#4e4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ccc;
$custom-light: #8d7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ccc",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 240.938,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.19237,
    "h": 277.5
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#4E4CCC
secondary
#D4D59F
accent
#DF49DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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