#4D7AE8#4D7AE8

#4D7AE8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.174 H 264.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D7AE8
RGBrgb(77, 122, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(66.8%, 47.4%, 0%, 9%)
CIE-LABlab(53.30, 19.86, -60.35)
CIE-LCHlch(53.30, 63.53, 288.21°)
OKLaboklab(60.43% -0.0153 -0.1729)
OKLCHoklch(60.43% 0.174 264.9)
XYZxyz(24.5805, 21.3206, 79.1482)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7AE8 #E8BB4D
analogous
#4DC7E8 #4D7AE8 #6E4DE8
triadic
#4D7AE8 #E84D7A #7AE84D
tetradic
#4D7AE8 #E84DC7 #E8BB4D #4DE86E
square
#4D7AE8 #E84DC7 #E8BB4D #4DE86E
split-complementary
#4D7AE8 #E86E4D #C7E84D
monochromatic
#153FA5 #1C54DB #4D7AE8 #83A2EF #B9CBF6

Accessibility & contrast

On white

3.99
#4D7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D7AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7AE8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7AE8#FFFFFF#000000##000000
##4D7AE81.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#1B79E6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ae8;
/* rgb */ color: rgb(77, 122, 232);
/* oklch */ color: oklch(60.4% 0.174 264.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ff0',
    500: '#4d7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ae8;
$custom-light: #8f9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ae8",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 222.581,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.17359,
    "h": 264.9
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#4D7AE8
secondary
#E6D5AB
accent
#9E0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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