#4D6AE4#4D6AE4

#4D6AE4 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.0% C 0.188 H 269.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4D6AE4
RGBrgb(77, 106, 228)
HSLhsl(228, 74%, 60%)
HSVhsv(228, 66%, 89%)
CMYKcmyk(66.2%, 53.5%, 0%, 10.6%)
CIE-LABlab(48.87, 28.39, -65.25)
CIE-LCHlch(48.87, 71.16, 293.51°)
OKLaboklab(56.99% -0.0017 -0.1876)
OKLCHoklch(56.99% 0.188 269.5)
XYZxyz(22.2134, 17.4852, 75.5881)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6AE4 #E4C74D
analogous
#4DB5E4 #4D6AE4 #7C4DE4
triadic
#4D6AE4 #E44D6A #6AE44D
tetradic
#4D6AE4 #E44DB5 #E4C74D #4DE47C
square
#4D6AE4 #E44DB5 #E4C74D #4DE47C
split-complementary
#4D6AE4 #E47C4D #B5E44D
monochromatic
#18329F #2043D4 #4D6AE4 #8296EC #B7C3F4

Accessibility & contrast

On white

4.67
#4D6AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4D6AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6AE4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6AE4#FFFFFF#000000##FFFFFF
##4D6AE41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d6ae4;
/* rgb */ color: rgb(77, 106, 228);
/* oklch */ color: oklch(57.0% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#8f94ed',
    500: '#4d6ae4',
    950: '#000000',
  },
}
SCSS
$custom: #4d6ae4;
$custom-light: #8f94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6ae4",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 228.477,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.18758,
    "h": 269.5
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#4D6AE4
secondary
#E4D8A9
accent
#CD37F0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D6AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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