#4D4ECD#4D4ECD

#4D4ECD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.191 H 276.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4D4ECD
RGBrgb(77, 78, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(62.4%, 62%, 0%, 19.6%)
CIE-LABlab(40.30, 37.93, -66.04)
CIE-LCHlch(40.30, 76.16, 299.87°)
OKLaboklab(50.08% 0.0221 -0.1902)
OKLCHoklch(50.08% 0.191 276.6)
XYZxyz(16.8008, 11.4330, 59.0672)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ECD #CDCC4D
analogous
#4D8ECD #4D4ECD #8C4DCD
triadic
#4D4ECD #CD4D4E #4ECD4D
tetradic
#4D4ECD #CD4D8E #CDCC4D #4DCD8C
square
#4D4ECD #CD4D8E #CDCC4D #4DCD8C
split-complementary
#4D4ECD #CD8C4D #8ECD4D
monochromatic
#23247D #3031AC #4D4ECD #7D7EDA #ADADE8

Accessibility & contrast

On white

6.39
#4D4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4D4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ECD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ECD#FFFFFF#000000##FFFFFF
##4D4ECD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4ecd;
/* rgb */ color: rgb(77, 78, 205);
/* oklch */ color: oklch(50.1% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c80dd',
    500: '#4d4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ecd;
$custom-light: #8c80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ecd",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 239.531,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.19147,
    "h": 276.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#4D4ECD
secondary
#D6D5A0
accent
#DE48DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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