#4D7EE2#4D7EE2

#4D7EE2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.161 H 262.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4D7EE2
RGBrgb(77, 126, 226)
HSLhsl(220, 72%, 59%)
HSVhsv(220, 66%, 89%)
CMYKcmyk(65.9%, 44.2%, 0%, 11.4%)
CIE-LABlab(54.01, 15.31, -55.84)
CIE-LCHlch(54.01, 57.90, 285.33°)
OKLaboklab(60.87% -0.0199 -0.1596)
OKLCHoklch(60.87% 0.161 262.9)
XYZxyz(24.2441, 21.9881, 74.9032)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EE2 #E2B14D
analogous
#4DC9E2 #4D7EE2 #664DE2
triadic
#4D7EE2 #E24D7E #7EE24D
tetradic
#4D7EE2 #E24DC9 #E2B14D #4DE266
square
#4D7EE2 #E24DC9 #E2B14D #4DE266
split-complementary
#4D7EE2 #E2664D #C9E24D
monochromatic
#19449B #225BD0 #4D7EE2 #82A4EB #B6CAF3

Accessibility & contrast

On white

3.89
#4D7EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4D7EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EE2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EE2#FFFFFF#000000##000000
##4D7EE21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#337BE0
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7ee2;
/* rgb */ color: rgb(77, 126, 226);
/* oklch */ color: oklch(60.9% 0.161 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ea2ec',
    500: '#4d7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ee2;
$custom-light: #8ea2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ee2",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 220.268,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.16084,
    "h": 262.9
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#4D7EE2
secondary
#E2CFA8
accent
#B339EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4D7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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