#4D7ED5#4D7ED5

#4D7ED5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.143 H 261.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D7ED5
RGBrgb(77, 126, 213)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(63.8%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.28, 10.82, -49.70)
CIE-LCHlch(53.28, 50.86, 282.28°)
OKLaboklab(60.06% -0.0224 -0.1416)
OKLCHoklch(60.06% 0.143 261)
XYZxyz(22.5274, 21.3015, 65.8623)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ED5 #D5A44D
analogous
#4DC2D5 #4D7ED5 #604DD5
triadic
#4D7ED5 #D54D7E #7ED54D
tetradic
#4D7ED5 #D54DC2 #D5A44D #4DD560
square
#4D7ED5 #D54DC2 #D5A44D #4DD560
split-complementary
#4D7ED5 #D5604D #C2D54D
monochromatic
#204588 #2C5FB9 #4D7ED5 #7FA2E1 #B0C6EC

Accessibility & contrast

On white

3.99
#4D7ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D7ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ED5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ED5#FFFFFF#000000##000000
##4D7ED51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ed5;
/* rgb */ color: rgb(77, 126, 213);
/* oklch */ color: oklch(60.1% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ba2e2',
    500: '#4d7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ed5;
$custom-light: #8ba2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ed5",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 218.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.14332,
    "h": 261
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#4D7ED5
secondary
#DBC7A3
accent
#AB43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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