#4D5ED9#4D5ED9

#4D5ED9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.188 H 272.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D5ED9
RGBrgb(77, 94, 217)
HSLhsl(233, 65%, 58%)
HSVhsv(233, 65%, 85%)
CMYKcmyk(64.5%, 56.7%, 0%, 14.9%)
CIE-LABlab(45.07, 32.09, -65.17)
CIE-LCHlch(45.07, 72.64, 296.21°)
OKLaboklab(53.9% 0.0082 -0.1875)
OKLCHoklch(53.9% 0.188 272.5)
XYZxyz(19.5835, 14.5912, 67.4165)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ED9 #D9C84D
analogous
#4DA4D9 #4D5ED9 #824DD9
triadic
#4D5ED9 #D94D5E #5ED94D
tetradic
#4D5ED9 #D94DA4 #D9C84D #4DD982
square
#4D5ED9 #D94DA4 #D9C84D #4DD982
split-complementary
#4D5ED9 #D9824D #A4D94D
monochromatic
#1E2C8D #293BC0 #4D5ED9 #7F8CE4 #B2B9EF

Accessibility & contrast

On white

5.36
#4D5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ED9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ED9#FFFFFF#000000##FFFFFF
##4D5ED91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ed9;
/* rgb */ color: rgb(77, 94, 217);
/* oklch */ color: oklch(53.9% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#8d8be6',
    500: '#4d5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ed9;
$custom-light: #8d8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ed9",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 232.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.18766,
    "h": 272.5
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#4D5ED9
secondary
#DDD6A5
accent
#D340E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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