#4D4ECE#4D4ECE

#4D4ECE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.193 H 276.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D4ECE
RGBrgb(77, 78, 206)
HSLhsl(240, 57%, 55%)
HSVhsv(240, 63%, 81%)
CMYKcmyk(62.6%, 62.1%, 0%, 19.2%)
CIE-LABlab(40.38, 38.26, -66.49)
CIE-LCHlch(40.38, 76.72, 299.92°)
OKLaboklab(50.17% 0.022 -0.1915)
OKLCHoklch(50.17% 0.193 276.6)
XYZxyz(16.9219, 11.4814, 59.7049)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ECE #CECD4D
analogous
#4D8ECE #4D4ECE #8C4DCE
triadic
#4D4ECE #CE4D4E #4ECE4D
tetradic
#4D4ECE #CE4D8E #CECD4D #4DCE8C
square
#4D4ECE #CE4D8E #CECD4D #4DCE8C
split-complementary
#4D4ECE #CE8C4D #8ECE4D
monochromatic
#23237E #3031AE #4D4ECE #7D7EDB #ADADE8

Accessibility & contrast

On white

6.37
#4D4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ECE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ECE#FFFFFF#000000##FFFFFF
##4D4ECE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4ece;
/* rgb */ color: rgb(77, 78, 206);
/* oklch */ color: oklch(50.2% 0.193 276.6);
Tailwind
colors: {
  custom: {
    50: '#8c80de',
    500: '#4d4ece',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ece;
$custom-light: #8c80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ece",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 239.535,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.19276,
    "h": 276.6
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#4D4ECE
secondary
#D6D6A1
accent
#DF48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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