#4D54EB#4D54EB

#4D54EB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.223 H 274.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D54EB
RGBrgb(77, 84, 235)
HSLhsl(237, 80%, 61%)
HSVhsv(237, 67%, 92%)
CMYKcmyk(67.2%, 64.3%, 0%, 7.8%)
CIE-LABlab(44.11, 44.23, -76.94)
CIE-LCHlch(44.11, 88.75, 299.89°)
OKLaboklab(53.63% 0.0155 -0.2221)
OKLCHoklch(53.63% 0.223 274)
XYZxyz(21.2213, 13.9146, 80.1486)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54EB #EBE44D
analogous
#4DA3EB #4D54EB #954DEB
triadic
#4D54EB #EB4D54 #54EB4D
tetradic
#4D54EB #EB4DA3 #EBE44D #4DEB95
square
#4D54EB #EB4DA3 #EBE44D #4DEB95
split-complementary
#4D54EB #EB954D #A3EB4D
monochromatic
#131AAA #1922E1 #4D54EB #8489F1 #BBBEF7

Accessibility & contrast

On white

5.55
#4D54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54EB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54EB#FFFFFF#000000##FFFFFF
##4D54EB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d54eb;
/* rgb */ color: rgb(77, 84, 235);
/* oklch */ color: oklch(53.6% 0.223 274.0);
Tailwind
colors: {
  custom: {
    50: '#9184f3',
    500: '#4d54eb',
    950: '#000000',
  },
}
SCSS
$custom: #4d54eb;
$custom-light: #9184f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54eb",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 237.342,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.22267,
    "h": 274
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#4D54EB
secondary
#E8E5AC
accent
#D309DC
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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