#4D5AD7#4D5AD7

#4D5AD7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.190 H 273.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4D5AD7
RGBrgb(77, 90, 215)
HSLhsl(234, 63%, 57%)
HSVhsv(234, 64%, 84%)
CMYKcmyk(64.2%, 58.1%, 0%, 15.7%)
CIE-LABlab(43.94, 33.89, -65.87)
CIE-LCHlch(43.94, 74.08, 297.23°)
OKLaboklab(53.01% 0.0116 -0.1896)
OKLCHoklch(53.01% 0.19 273.5)
XYZxyz(18.9784, 13.7948, 65.9393)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5AD7 #D7CA4D
analogous
#4D9FD7 #4D5AD7 #854DD7
triadic
#4D5AD7 #D74D5A #5AD74D
tetradic
#4D5AD7 #D74D9F #D7CA4D #4DD785
square
#4D5AD7 #D74D9F #D7CA4D #4DD785
split-complementary
#4D5AD7 #D7854D #9FD74D
monochromatic
#1F298A #2A38BC #4D5AD7 #7F88E2 #B1B7ED

Accessibility & contrast

On white

5.59
#4D5AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4D5AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5AD7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5AD7#FFFFFF#000000##FFFFFF
##4D5AD71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5ad7;
/* rgb */ color: rgb(77, 90, 215);
/* oklch */ color: oklch(53.0% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d88e4',
    500: '#4d5ad7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ad7;
$custom-light: #8d88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ad7",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 234.348,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.18993,
    "h": 273.5
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#4D5AD7
secondary
#DCD7A4
accent
#D741E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D5AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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