#4E77D8#4E77D8

#4E77D8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.155 H 264.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E77D8
RGBrgb(78, 119, 216)
HSLhsl(222, 64%, 58%)
HSVhsv(222, 64%, 85%)
CMYKcmyk(63.9%, 44.9%, 0%, 15.3%)
CIE-LABlab(51.58, 16.32, -54.11)
CIE-LCHlch(51.58, 56.52, 286.79°)
OKLaboklab(58.82% -0.014 -0.1546)
OKLCHoklch(58.82% 0.155 264.8)
XYZxyz(22.1291, 19.7692, 67.6021)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E77D8 #D8AF4E
analogous
#4EBCD8 #4E77D8 #6A4ED8
triadic
#4E77D8 #D84E77 #77D84E
tetradic
#4E77D8 #D84EBC #D8AF4E #4ED86A
square
#4E77D8 #D84EBC #D8AF4E #4ED86A
split-complementary
#4E77D8 #D86A4E #BCD84E
monochromatic
#1F408D #2A56BF #4E77D8 #809EE3 #B2C4EE

Accessibility & contrast

On white

4.24
#4E77D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4E77D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E77D8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E77D8#FFFFFF#000000##000000
##4E77D81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DC
Deuteranopia (green-blind)
#3175D6
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e77d8;
/* rgb */ color: rgb(78, 119, 216);
/* oklch */ color: oklch(58.8% 0.155 264.8);
Tailwind
colors: {
  custom: {
    50: '#8c9de4',
    500: '#4e77d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e77d8;
$custom-light: #8c9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e77d8",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 216
  },
  "hsl": {
    "h": 222.174,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.15524,
    "h": 264.8
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#4E77D8
secondary
#DDCCA5
accent
#B641E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E77D8

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

Preview Lab → · Contrast checker → · Palette generator →

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