#4D77E1#4D77E1

#4D77E1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.168 H 265.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D77E1
RGBrgb(77, 119, 225)
HSLhsl(223, 71%, 59%)
HSVhsv(223, 66%, 88%)
CMYKcmyk(65.8%, 47.1%, 0%, 11.8%)
CIE-LABlab(52.07, 19.27, -58.40)
CIE-LCHlch(52.07, 61.50, 288.26°)
OKLaboklab(59.35% -0.0136 -0.1672)
OKLCHoklch(59.35% 0.168 265.4)
XYZxyz(23.2433, 20.2055, 73.8947)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D77E1 #E1B74D
analogous
#4DC1E1 #4D77E1 #6D4DE1
triadic
#4D77E1 #E14D77 #77E14D
tetradic
#4D77E1 #E14DC1 #E1B74D #4DE16D
square
#4D77E1 #E14DC1 #E1B74D #4DE16D
split-complementary
#4D77E1 #E16D4D #C1E14D
monochromatic
#1A3E9A #2353CE #4D77E1 #819FEA #B6C7F3

Accessibility & contrast

On white

4.17
#4D77E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D77E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D77E1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D77E1#FFFFFF#000000##000000
##4D77E11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d77e1;
/* rgb */ color: rgb(77, 119, 225);
/* oklch */ color: oklch(59.4% 0.168 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9deb',
    500: '#4d77e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d77e1;
$custom-light: #8e9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d77e1",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 222.973,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.16777,
    "h": 265.4
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#4D77E1
secondary
#E2D1A8
accent
#BB3AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D77E1

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

Preview Lab → · Contrast checker → · Palette generator →

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