#4D5CD5#4D5CD5

#4D5CD5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.185 H 273.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4D5CD5
RGBrgb(77, 92, 213)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 64%, 84%)
CMYKcmyk(63.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.28, 31.97, -64.17)
CIE-LCHlch(44.28, 71.69, 296.49°)
OKLaboklab(53.22% 0.0099 -0.1845)
OKLCHoklch(53.22% 0.185 273.1)
XYZxyz(18.8940, 14.0345, 64.6511)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CD5 #D5C64D
analogous
#4DA0D5 #4D5CD5 #824DD5
triadic
#4D5CD5 #D54D5C #5CD54D
tetradic
#4D5CD5 #D54DA0 #D5C64D #4DD582
square
#4D5CD5 #D54DA0 #D5C64D #4DD582
split-complementary
#4D5CD5 #D5824D #A0D54D
monochromatic
#202B88 #2C3BB9 #4D5CD5 #7F89E1 #B0B7EC

Accessibility & contrast

On white

5.52
#4D5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4D5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CD5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CD5#FFFFFF#000000##FFFFFF
##4D5CD51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5cd5;
/* rgb */ color: rgb(77, 92, 213);
/* oklch */ color: oklch(53.2% 0.185 273.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ae3',
    500: '#4d5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cd5;
$custom-light: #8d8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cd5",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 233.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.1848,
    "h": 273.1
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#4D5CD5
secondary
#DBD5A3
accent
#D343E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4D5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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