#4D4EDA#4D4EDA

#4D4EDA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.208 H 275.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4D4EDA
RGBrgb(77, 78, 218)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(64.7%, 64.2%, 0%, 14.5%)
CIE-LABlab(41.35, 42.22, -71.80)
CIE-LCHlch(41.35, 83.29, 300.45°)
OKLaboklab(51.18% 0.0212 -0.2071)
OKLCHoklch(51.18% 0.208 275.8)
XYZxyz(18.4357, 12.0869, 67.6776)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EDA #DAD94D
analogous
#4D95DA #4D4EDA #924DDA
triadic
#4D4EDA #DA4D4E #4EDA4D
tetradic
#4D4EDA #DA4D95 #DAD94D #4DDA92
square
#4D4EDA #DA4D95 #DAD94D #4DDA92
split-complementary
#4D4EDA #DA924D #95DA4D
monochromatic
#1E1F8F #2829C2 #4D4EDA #8080E5 #B2B3EF

Accessibility & contrast

On white

6.14
#4D4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4D4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EDA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EDA#FFFFFF#000000##FFFFFF
##4D4EDA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d4eda;
/* rgb */ color: rgb(77, 78, 218);
/* oklch */ color: oklch(51.2% 0.208 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f80e7',
    500: '#4d4eda',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eda;
$custom-light: #8f80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eda",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 239.574,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.20815,
    "h": 275.8
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#4D4EDA
secondary
#DEDDA5
accent
#E73FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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