#4D7DE4#4D7DE4

#4D7DE4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.165 H 263.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4D7DE4
RGBrgb(77, 125, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 89%)
CMYKcmyk(66.2%, 45.2%, 0%, 10.6%)
CIE-LABlab(53.86, 16.62, -57.21)
CIE-LCHlch(53.86, 59.57, 286.20°)
OKLaboklab(60.79% -0.0187 -0.1636)
OKLCHoklch(60.79% 0.165 263.5)
XYZxyz(24.3929, 21.8441, 76.3146)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DE4 #E4B44D
analogous
#4DC9E4 #4D7DE4 #684DE4
triadic
#4D7DE4 #E44D7D #7DE44D
tetradic
#4D7DE4 #E44DC9 #E4B44D #4DE468
square
#4D7DE4 #E44DC9 #E4B44D #4DE468
split-complementary
#4D7DE4 #E4684D #C9E44D
monochromatic
#18439F #2059D4 #4D7DE4 #82A4EC #B7CBF4

Accessibility & contrast

On white

3.91
#4D7DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4D7DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DE4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DE4#FFFFFF#000000##000000
##4D7DE41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E8
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7de4;
/* rgb */ color: rgb(77, 125, 228);
/* oklch */ color: oklch(60.8% 0.165 263.5);
Tailwind
colors: {
  custom: {
    50: '#8ea2ed',
    500: '#4d7de4',
    950: '#000000',
  },
}
SCSS
$custom: #4d7de4;
$custom-light: #8ea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7de4",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 220.927,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.16469,
    "h": 263.5
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D7DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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