#4D7CE5#4D7CE5

#4D7CE5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.167 H 264.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4D7CE5
RGBrgb(77, 124, 229)
HSLhsl(221, 75%, 60%)
HSVhsv(221, 66%, 90%)
CMYKcmyk(66.4%, 45.9%, 0%, 10.2%)
CIE-LABlab(53.65, 17.58, -58.10)
CIE-LCHlch(53.65, 60.70, 286.84°)
OKLaboklab(60.64% -0.0176 -0.1663)
OKLCHoklch(60.64% 0.167 264)
XYZxyz(24.4061, 21.6478, 77.0058)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CE5 #E5B64D
analogous
#4DC8E5 #4D7CE5 #6A4DE5
triadic
#4D7CE5 #E54D7C #7CE54D
tetradic
#4D7CE5 #E54DC8 #E5B64D #4DE56A
square
#4D7CE5 #E54DC8 #E5B64D #4DE56A
split-complementary
#4D7CE5 #E56A4D #C8E54D
monochromatic
#1742A0 #1F58D6 #4D7CE5 #82A3ED #B8CBF5

Accessibility & contrast

On white

3.94
#4D7CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4D7CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CE5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CE5#FFFFFF#000000##000000
##4D7CE51.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788E9
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7ce5;
/* rgb */ color: rgb(77, 124, 229);
/* oklch */ color: oklch(60.6% 0.167 264.0);
Tailwind
colors: {
  custom: {
    50: '#8ea1ee',
    500: '#4d7ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ce5;
$custom-light: #8ea1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ce5",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 221.447,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.16721,
    "h": 264
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#4D7CE5
secondary
#E4D2AA
accent
#B737F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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