#4D4ED3#4D4ED3

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

Color values

HEX#4D4ED3
RGBrgb(77, 78, 211)
HSLhsl(240, 60%, 56%)
HSVhsv(240, 64%, 83%)
CMYKcmyk(63.5%, 63%, 0%, 17.3%)
CIE-LABlab(40.78, 39.91, -68.72)
CIE-LCHlch(40.78, 79.47, 300.15°)
OKLaboklab(50.58% 0.0217 -0.198)
OKLCHoklch(50.58% 0.199 276.3)
XYZxyz(17.5390, 11.7283, 62.9549)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ED3 #D3D24D
analogous
#4D91D3 #4D4ED3 #8F4DD3
triadic
#4D4ED3 #D34D4E #4ED34D
tetradic
#4D4ED3 #D34D91 #D3D24D #4DD38F
square
#4D4ED3 #D34D91 #D3D24D #4DD38F
split-complementary
#4D4ED3 #D38F4D #91D34D
monochromatic
#212285 #2D2EB6 #4D4ED3 #7E7FDF #AFB0EB

Accessibility & contrast

On white

6.28
#4D4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D4ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ED3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ED3#FFFFFF#000000##FFFFFF
##4D4ED31.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4ed3;
/* rgb */ color: rgb(77, 78, 211);
/* oklch */ color: oklch(50.6% 0.199 276.3);
Tailwind
colors: {
  custom: {
    50: '#8d80e2',
    500: '#4d4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ed3;
$custom-light: #8d80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ed3",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 239.552,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.19923,
    "h": 276.3
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#4D4ED3
secondary
#D9D9A2
accent
#E244E4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4D4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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