#4D7ED2#4D7ED2

#4D7ED2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.139 H 260.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4D7ED2
RGBrgb(77, 126, 210)
HSLhsl(218, 60%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(63.3%, 40%, 0%, 17.6%)
CIE-LABlab(53.11, 9.79, -48.26)
CIE-LCHlch(53.11, 49.25, 281.46°)
OKLaboklab(59.88% -0.023 -0.1374)
OKLCHoklch(59.88% 0.139 260.5)
XYZxyz(22.1502, 21.1506, 63.8754)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ED2 #D2A14D
analogous
#4DC0D2 #4D7ED2 #5F4DD2
triadic
#4D7ED2 #D24D7E #7ED24D
tetradic
#4D7ED2 #D24DC0 #D2A14D #4DD25F
square
#4D7ED2 #D24DC0 #D2A14D #4DD25F
split-complementary
#4D7ED2 #D25F4D #C0D24D
monochromatic
#214583 #2E5FB4 #4D7ED2 #7EA1DE #AFC5EB

Accessibility & contrast

On white

4.01
#4D7ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4D7ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ED2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ED2#FFFFFF#000000##000000
##4D7ED21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ed2;
/* rgb */ color: rgb(77, 126, 210);
/* oklch */ color: oklch(59.9% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2e0',
    500: '#4d7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ed2;
$custom-light: #8ba2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ed2",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 217.895,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.13927,
    "h": 260.5
  },
  "luminance": 0.21153
}

Semantic roles & 50–950 ramp

primary
#4D7ED2
secondary
#D9C5A2
accent
#A945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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