#4D5ED7#4D5ED7

#4D5ED7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.185 H 272.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4D5ED7
RGBrgb(77, 94, 215)
HSLhsl(233, 63%, 57%)
HSVhsv(233, 64%, 84%)
CMYKcmyk(64.2%, 56.3%, 0%, 15.7%)
CIE-LABlab(44.92, 31.40, -64.27)
CIE-LCHlch(44.92, 71.53, 296.04°)
OKLaboklab(53.74% 0.0082 -0.1848)
OKLCHoklch(53.74% 0.185 272.5)
XYZxyz(19.3249, 14.4878, 66.0548)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ED7 #D7C64D
analogous
#4DA3D7 #4D5ED7 #814DD7
triadic
#4D5ED7 #D74D5E #5ED74D
tetradic
#4D5ED7 #D74DA3 #D7C64D #4DD781
square
#4D5ED7 #D74DA3 #D7C64D #4DD781
split-complementary
#4D5ED7 #D7814D #A3D74D
monochromatic
#1F2C8A #2A3CBC #4D5ED7 #7F8BE2 #B1B8ED

Accessibility & contrast

On white

5.39
#4D5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4D5ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ED7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ED7#FFFFFF#000000##FFFFFF
##4D5ED71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5ed7;
/* rgb */ color: rgb(77, 94, 215);
/* oklch */ color: oklch(53.7% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8be4',
    500: '#4d5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ed7;
$custom-light: #8d8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ed7",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 232.609,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.185,
    "h": 272.5
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#4D5ED7
secondary
#DCD5A4
accent
#D241E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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