#4D7AE7#4D7AE7

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

Color values

HEX#4D7AE7
RGBrgb(77, 122, 231)
HSLhsl(222, 76%, 60%)
HSVhsv(222, 67%, 91%)
CMYKcmyk(66.7%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.24, 19.51, -59.89)
CIE-LCHlch(53.24, 62.98, 288.04°)
OKLaboklab(60.37% -0.0155 -0.1716)
OKLCHoklch(60.37% 0.172 264.8)
XYZxyz(24.4389, 21.2640, 78.4022)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7AE7 #E7BA4D
analogous
#4DC7E7 #4D7AE7 #6D4DE7
triadic
#4D7AE7 #E74D7A #7AE74D
tetradic
#4D7AE7 #E74DC7 #E7BA4D #4DE76D
square
#4D7AE7 #E74DC7 #E7BA4D #4DE76D
split-complementary
#4D7AE7 #E76D4D #C7E74D
monochromatic
#163FA4 #1D54D9 #4D7AE7 #83A2EE #B9CBF6

Accessibility & contrast

On white

4.00
#4D7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4D7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7AE7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7AE7#FFFFFF#000000##000000
##4D7AE71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#1D79E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ae7;
/* rgb */ color: rgb(77, 122, 231);
/* oklch */ color: oklch(60.4% 0.172 264.8);
Tailwind
colors: {
  custom: {
    50: '#8f9fef',
    500: '#4d7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ae7;
$custom-light: #8f9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ae7",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 222.468,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.17226,
    "h": 264.8
  },
  "luminance": 0.21266
}

Semantic roles & 50–950 ramp

primary
#4D7AE7
secondary
#E5D4AA
accent
#9D0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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