#4D4ED2#4D4ED2

#4D4ED2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.198 H 276.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D4ED2
RGBrgb(77, 78, 210)
HSLhsl(240, 60%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(63.3%, 62.9%, 0%, 17.6%)
CIE-LABlab(40.70, 39.58, -68.28)
CIE-LCHlch(40.70, 78.92, 300.10°)
OKLaboklab(50.5% 0.0218 -0.1967)
OKLCHoklch(50.5% 0.198 276.3)
XYZxyz(17.4140, 11.6783, 62.2967)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ED2 #D2D14D
analogous
#4D91D2 #4D4ED2 #8F4DD2
triadic
#4D4ED2 #D24D4E #4ED24D
tetradic
#4D4ED2 #D24D91 #D2D14D #4DD28F
square
#4D4ED2 #D24D91 #D2D14D #4DD28F
split-complementary
#4D4ED2 #D28F4D #91D24D
monochromatic
#212283 #2E2FB4 #4D4ED2 #7E7FDE #AFAFEB

Accessibility & contrast

On white

6.29
#4D4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ED2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ED2#FFFFFF#000000##FFFFFF
##4D4ED21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4ed2;
/* rgb */ color: rgb(77, 78, 210);
/* oklch */ color: oklch(50.5% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#8d80e1',
    500: '#4d4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ed2;
$custom-light: #8d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ed2",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 239.549,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.505,
    "c": 0.19793,
    "h": 276.3
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#4D4ED2
secondary
#D9D8A2
accent
#E245E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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