#4E4DCD#4E4DCD

#4E4DCD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.192 H 277.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4DCD
RGBrgb(78, 77, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(62%, 62.4%, 0%, 19.6%)
CIE-LABlab(40.14, 38.70, -66.31)
CIE-LCHlch(40.14, 76.77, 300.27°)
OKLaboklab(49.98% 0.0241 -0.1909)
OKLCHoklch(49.98% 0.192 277.2)
XYZxyz(16.8116, 11.3339, 59.0475)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4DCD #CCCD4D
analogous
#4D8CCD #4E4DCD #8E4DCD
triadic
#4E4DCD #CD4E4D #4DCD4E
tetradic
#4E4DCD #CD4D8C #CCCD4D #4DCD8E
square
#4E4DCD #CD4D8C #CCCD4D #4DCD8E
split-complementary
#4E4DCD #CD8E4D #8CCD4D
monochromatic
#24237D #3130AC #4E4DCD #7E7DDA #ADADE8

Accessibility & contrast

On white

6.43
#4E4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4DCD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4DCD#FFFFFF#000000##FFFFFF
##4E4DCD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e4dcd;
/* rgb */ color: rgb(78, 77, 205);
/* oklch */ color: oklch(50.0% 0.192 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d7fdd',
    500: '#4e4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4e4dcd;
$custom-light: #8d7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4dcd",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 240.469,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.19246,
    "h": 277.2
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#4E4DCD
secondary
#D5D6A0
accent
#DF48DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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