#4D7ED7#4D7ED7

#4D7ED7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.146 H 261.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7ED7
RGBrgb(77, 126, 215)
HSLhsl(219, 63%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(64.2%, 41.4%, 0%, 15.7%)
CIE-LABlab(53.39, 11.51, -50.65)
CIE-LCHlch(53.39, 51.94, 282.80°)
OKLaboklab(60.18% -0.022 -0.1444)
OKLCHoklch(60.18% 0.146 261.4)
XYZxyz(22.7828, 21.4036, 67.2075)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ED7 #D7A64D
analogous
#4DC3D7 #4D7ED7 #614DD7
triadic
#4D7ED7 #D74D7E #7ED74D
tetradic
#4D7ED7 #D74DC3 #D7A64D #4DD761
square
#4D7ED7 #D74DC3 #D7A64D #4DD761
split-complementary
#4D7ED7 #D7614D #C3D74D
monochromatic
#1F458A #2A5EBC #4D7ED7 #7FA2E2 #B1C6ED

Accessibility & contrast

On white

3.98
#4D7ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D7ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ED7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ED7#FFFFFF#000000##000000
##4D7ED71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586DA
Deuteranopia (green-blind)
#407AD5
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7ed7;
/* rgb */ color: rgb(77, 126, 215);
/* oklch */ color: oklch(60.2% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca2e4',
    500: '#4d7ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ed7;
$custom-light: #8ca2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ed7",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 218.696,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.14602,
    "h": 261.4
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#4D7ED7
secondary
#DCC8A4
accent
#AC41E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #4D7ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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