#4D4ECA#4D4ECA

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

Color values

HEX#4D4ECA
RGBrgb(77, 78, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 62%, 79%)
CMYKcmyk(61.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(40.06, 36.94, -64.69)
CIE-LCHlch(40.06, 74.50, 299.73°)
OKLaboklab(49.84% 0.0223 -0.1862)
OKLCHoklch(49.84% 0.188 276.8)
XYZxyz(16.4422, 11.2895, 57.1783)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ECA #CAC94D
analogous
#4D8DCA #4D4ECA #8B4DCA
triadic
#4D4ECA #CA4D4E #4ECA4D
tetradic
#4D4ECA #CA4D8D #CAC94D #4DCA8B
square
#4D4ECA #CA4D8D #CAC94D #4DCA8B
split-complementary
#4D4ECA #CA8B4D #8DCA4D
monochromatic
#242579 #3233A8 #4D4ECA #7C7DD8 #ABACE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4ECA#FFFFFF#000000##FFFFFF
##4D4ECA1.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)
#0064CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4eca;
/* rgb */ color: rgb(77, 78, 202);
/* oklch */ color: oklch(49.8% 0.188 276.8);
Tailwind
colors: {
  custom: {
    50: '#8c80db',
    500: '#4d4eca',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eca;
$custom-light: #8c80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eca",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 239.52,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.18754,
    "h": 276.8
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#4D4ECA
secondary
#D4D39F
accent
#DC4ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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