#4D77E4#4D77E4

#4D77E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.172 H 265.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4D77E4
RGBrgb(77, 119, 228)
HSLhsl(223, 74%, 60%)
HSVhsv(223, 66%, 89%)
CMYKcmyk(66.2%, 47.8%, 0%, 10.6%)
CIE-LABlab(52.25, 20.32, -59.79)
CIE-LCHlch(52.25, 63.14, 288.77°)
OKLaboklab(59.56% -0.0132 -0.1713)
OKLCHoklch(59.56% 0.172 265.6)
XYZxyz(23.6561, 20.3706, 76.0690)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D77E4 #E4BA4D
analogous
#4DC3E4 #4D77E4 #6E4DE4
triadic
#4D77E4 #E44D77 #77E44D
tetradic
#4D77E4 #E44DC3 #E4BA4D #4DE46E
square
#4D77E4 #E44DC3 #E4BA4D #4DE46E
split-complementary
#4D77E4 #E46E4D #C3E44D
monochromatic
#183D9F #2052D4 #4D77E4 #82A0EC #B7C8F4

Accessibility & contrast

On white

4.14
#4D77E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4D77E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D77E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D77E4#FFFFFF#000000##000000
##4D77E41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d77e4;
/* rgb */ color: rgb(77, 119, 228);
/* oklch */ color: oklch(59.6% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#8e9ded',
    500: '#4d77e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d77e4;
$custom-light: #8e9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#4d77e4",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 223.311,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.17181,
    "h": 265.6
  },
  "luminance": 0.20373
}

Semantic roles & 50–950 ramp

primary
#4D77E4
secondary
#E4D3A9
accent
#BD37F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D77E4

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

Preview Lab → · Contrast checker → · Palette generator →

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