#4E4DCC#4E4DCC

#4E4DCC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.191 H 277.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E4DCC
RGBrgb(78, 77, 204)
HSLhsl(240, 55%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(61.8%, 62.3%, 0%, 20%)
CIE-LABlab(40.06, 38.37, -65.86)
CIE-LCHlch(40.06, 76.22, 300.22°)
OKLaboklab(49.9% 0.0242 -0.1896)
OKLCHoklch(49.9% 0.191 277.3)
XYZxyz(16.6913, 11.2858, 58.4138)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DCC #CBCC4D
analogous
#4D8CCC #4E4DCC #8D4DCC
triadic
#4E4DCC #CC4E4D #4DCC4E
tetradic
#4E4DCC #CC4D8C #CBCC4D #4DCC8D
square
#4E4DCC #CC4D8C #CBCC4D #4DCC8D
split-complementary
#4E4DCC #CC8D4D #8CCC4D
monochromatic
#24237B #3231AB #4E4DCC #7D7DDA #ADACE7

Accessibility & contrast

On white

6.45
#4E4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DCC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DCC#FFFFFF#000000##FFFFFF
##4E4DCC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4dcc;
/* rgb */ color: rgb(78, 77, 204);
/* oklch */ color: oklch(49.9% 0.191 277.3);
Tailwind
colors: {
  custom: {
    50: '#8d7fdc',
    500: '#4e4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4e4dcc;
$custom-light: #8d7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4dcc",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 240.472,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.19116,
    "h": 277.3
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#4E4DCC
secondary
#D5D5A0
accent
#DF49DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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