#4D7AE6#4D7AE6

#4D7AE6 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.171 H 264.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4D7AE6
RGBrgb(77, 122, 230)
HSLhsl(222, 75%, 60%)
HSVhsv(222, 67%, 90%)
CMYKcmyk(66.5%, 47%, 0%, 9.8%)
CIE-LABlab(53.18, 19.16, -59.42)
CIE-LCHlch(53.18, 62.44, 287.87°)
OKLaboklab(60.3% -0.0156 -0.1702)
OKLCHoklch(60.3% 0.171 264.8)
XYZxyz(24.2980, 21.2077, 77.6605)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7AE6 #E6B94D
analogous
#4DC6E6 #4D7AE6 #6D4DE6
triadic
#4D7AE6 #E64D7A #7AE64D
tetradic
#4D7AE6 #E64DC6 #E6B94D #4DE66D
square
#4D7AE6 #E64DC6 #E6B94D #4DE66D
split-complementary
#4D7AE6 #E66D4D #C6E64D
monochromatic
#1740A2 #1E55D8 #4D7AE6 #83A2EE #B8CAF5

Accessibility & contrast

On white

4.01
#4D7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4D7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7AE6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7AE6#FFFFFF#000000##000000
##4D7AE61.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286EA
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ae6;
/* rgb */ color: rgb(77, 122, 230);
/* oklch */ color: oklch(60.3% 0.171 264.8);
Tailwind
colors: {
  custom: {
    50: '#8e9fee',
    500: '#4d7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ae6;
$custom-light: #8e9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ae6",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 222.353,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.17092,
    "h": 264.8
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#4D7AE6
secondary
#E5D3AA
accent
#9C0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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