#4D5ED2#4D5ED2

#4D5ED2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.178 H 272.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D5ED2
RGBrgb(77, 94, 210)
HSLhsl(232, 60%, 56%)
HSVhsv(232, 63%, 82%)
CMYKcmyk(63.3%, 55.2%, 0%, 17.6%)
CIE-LABlab(44.57, 29.70, -61.99)
CIE-LCHlch(44.57, 68.73, 295.60°)
OKLaboklab(53.36% 0.008 -0.1781)
OKLCHoklch(53.36% 0.178 272.6)
XYZxyz(18.6923, 14.2347, 62.7228)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ED2 #D2C14D
analogous
#4DA1D2 #4D5ED2 #7F4DD2
triadic
#4D5ED2 #D24D5E #5ED24D
tetradic
#4D5ED2 #D24DA1 #D2C14D #4DD27F
square
#4D5ED2 #D24DA1 #D2C14D #4DD27F
split-complementary
#4D5ED2 #D27F4D #A1D24D
monochromatic
#212E83 #2E3FB4 #4D5ED2 #7E8ADE #AFB6EB

Accessibility & contrast

On white

5.46
#4D5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4D5ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ED2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ED2#FFFFFF#000000##FFFFFF
##4D5ED21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5ed2;
/* rgb */ color: rgb(77, 94, 210);
/* oklch */ color: oklch(53.4% 0.178 272.6);
Tailwind
colors: {
  custom: {
    50: '#8c8be1',
    500: '#4d5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ed2;
$custom-light: #8c8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ed2",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 232.331,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.17829,
    "h": 272.6
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#4D5ED2
secondary
#D9D2A2
accent
#CF45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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