#4D7EE4#4D7EE4

#4D7EE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.164 H 263.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D7EE4
RGBrgb(77, 126, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 89%)
CMYKcmyk(66.2%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.13, 16.01, -56.77)
CIE-LCHlch(54.13, 58.99, 285.74°)
OKLaboklab(60.99% -0.0196 -0.1623)
OKLCHoklch(60.99% 0.164 263.1)
XYZxyz(24.5201, 22.0985, 76.3570)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EE4 #E4B34D
analogous
#4DC9E4 #4D7EE4 #684DE4
triadic
#4D7EE4 #E44D7E #7EE44D
tetradic
#4D7EE4 #E44DC9 #E4B34D #4DE468
square
#4D7EE4 #E44DC9 #E4B34D #4DE468
split-complementary
#4D7EE4 #E4684D #C9E44D
monochromatic
#18449F #205AD4 #4D7EE4 #82A5EC #B7CBF4

Accessibility & contrast

On white

3.87
#4D7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4D7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EE4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EE4#FFFFFF#000000##000000
##4D7EE41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7ee4;
/* rgb */ color: rgb(77, 126, 228);
/* oklch */ color: oklch(61.0% 0.164 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea2ed',
    500: '#4d7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ee4;
$custom-light: #8ea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ee4",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 220.53,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.16352,
    "h": 263.1
  },
  "luminance": 0.22101
}

Semantic roles & 50–950 ramp

primary
#4D7EE4
secondary
#E4D1A9
accent
#B437F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4D7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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