#4D5CD4#4D5CD4

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

Color values

HEX#4D5CD4
RGBrgb(77, 92, 212)
HSLhsl(233, 61%, 57%)
HSVhsv(233, 64%, 83%)
CMYKcmyk(63.7%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.21, 31.63, -63.71)
CIE-LCHlch(44.21, 71.13, 296.40°)
OKLaboklab(53.14% 0.0099 -0.1832)
OKLCHoklch(53.14% 0.183 273.1)
XYZxyz(18.7674, 13.9839, 63.9847)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CD4 #D4C54D
analogous
#4DA0D4 #4D5CD4 #824DD4
triadic
#4D5CD4 #D44D5C #5CD44D
tetradic
#4D5CD4 #D44DA0 #D4C54D #4DD482
square
#4D5CD4 #D44DA0 #D4C54D #4DD482
split-complementary
#4D5CD4 #D4824D #A0D44D
monochromatic
#202C86 #2C3CB7 #4D5CD4 #7E89E0 #B0B6EC

Accessibility & contrast

On white

5.53
#4D5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4D5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CD4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CD4#FFFFFF#000000##FFFFFF
##4D5CD41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5cd4;
/* rgb */ color: rgb(77, 92, 212);
/* oklch */ color: oklch(53.1% 0.183 273.1);
Tailwind
colors: {
  custom: {
    50: '#8d8ae2',
    500: '#4d5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cd4;
$custom-light: #8d8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cd4",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 233.333,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.18347,
    "h": 273.1
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#4D5CD4
secondary
#DAD4A3
accent
#D244E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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