#4D5AE1#4D5AE1

#4D5AE1 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.8% C 0.203 H 273.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4D5AE1
RGBrgb(77, 90, 225)
HSLhsl(235, 71%, 59%)
HSVhsv(235, 66%, 88%)
CMYKcmyk(65.8%, 60%, 0%, 11.8%)
CIE-LABlab(44.69, 37.27, -70.33)
CIE-LCHlch(44.69, 79.60, 297.92°)
OKLaboklab(53.81% 0.0115 -0.2027)
OKLCHoklch(53.81% 0.203 273.2)
XYZxyz(20.3028, 14.3245, 72.9145)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5AE1 #E1D44D
analogous
#4DA4E1 #4D5AE1 #8A4DE1
triadic
#4D5AE1 #E14D5A #5AE14D
tetradic
#4D5AE1 #E14DA4 #E1D44D #4DE18A
square
#4D5AE1 #E14DA4 #E1D44D #4DE18A
split-complementary
#4D5AE1 #E18A4D #A4E14D
monochromatic
#1A259A #2332CE #4D5AE1 #818BEA #B6BBF3

Accessibility & contrast

On white

5.43
#4D5AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4D5AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5AE1
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5AE1#FFFFFF#000000##FFFFFF
##4D5AE11.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5ae1;
/* rgb */ color: rgb(77, 90, 225);
/* oklch */ color: oklch(53.8% 0.203 273.2);
Tailwind
colors: {
  custom: {
    50: '#8f88eb',
    500: '#4d5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ae1;
$custom-light: #8f88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ae1",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 234.73,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.20301,
    "h": 273.2
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#4D5AE1
secondary
#E2DDA8
accent
#DE3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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