#4D5DC7#4D5DC7

#4D5DC7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.165 H 272.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D5DC7
RGBrgb(77, 93, 199)
HSLhsl(232, 52%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(61.3%, 53.3%, 0%, 22%)
CIE-LABlab(43.55, 26.58, -57.30)
CIE-LCHlch(43.55, 63.17, 294.88°)
OKLaboklab(52.36% 0.0084 -0.1643)
OKLCHoklch(52.36% 0.165 272.9)
XYZxyz(17.2803, 13.5286, 55.7224)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DC7 #C7B74D
analogous
#4D9AC7 #4D5DC7 #7A4DC7
triadic
#4D5DC7 #C74D5D #5DC74D
tetradic
#4D5DC7 #C74D9A #C7B74D #4DC77A
square
#4D5DC7 #C74D9A #C7B74D #4DC77A
split-complementary
#4D5DC7 #C77A4D #9AC74D
monochromatic
#252F75 #3342A3 #4D5DC7 #7C87D6 #AAB2E4

Accessibility & contrast

On white

5.67
#4D5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4D5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DC7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DC7#FFFFFF#000000##FFFFFF
##4D5DC71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5dc7;
/* rgb */ color: rgb(77, 93, 199);
/* oklch */ color: oklch(52.4% 0.165 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a8ad9',
    500: '#4d5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5dc7;
$custom-light: #8a8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5dc7",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 232.131,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.16456,
    "h": 272.9
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#4D5DC7
secondary
#D2CB9E
accent
#C94CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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