#4D5EC7#4D5EC7

#4D5EC7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.163 H 272.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D5EC7
RGBrgb(77, 94, 199)
HSLhsl(232, 52%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(61.3%, 52.8%, 0%, 22%)
CIE-LABlab(43.81, 25.95, -56.89)
CIE-LCHlch(43.81, 62.52, 294.52°)
OKLaboklab(52.55% 0.0074 -0.1631)
OKLCHoklch(52.55% 0.163 272.6)
XYZxyz(17.3687, 13.7053, 55.7519)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EC7 #C7B64D
analogous
#4D9BC7 #4D5EC7 #794DC7
triadic
#4D5EC7 #C74D5E #5EC74D
tetradic
#4D5EC7 #C74D9B #C7B64D #4DC779
square
#4D5EC7 #C74D9B #C7B64D #4DC779
split-complementary
#4D5EC7 #C7794D #9BC74D
monochromatic
#253075 #3343A3 #4D5EC7 #7C88D6 #AAB2E4

Accessibility & contrast

On white

5.61
#4D5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4D5EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EC7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EC7#FFFFFF#000000##FFFFFF
##4D5EC71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5ec7;
/* rgb */ color: rgb(77, 94, 199);
/* oklch */ color: oklch(52.6% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8bd9',
    500: '#4d5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ec7;
$custom-light: #8a8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ec7",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 231.639,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.16328,
    "h": 272.6
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#4D5EC7
secondary
#D2CB9E
accent
#C84CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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