#4D6DD5#4D6DD5

#4D6DD5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.164 H 268.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D6DD5
RGBrgb(77, 109, 213)
HSLhsl(226, 62%, 57%)
HSVhsv(226, 64%, 84%)
CMYKcmyk(63.8%, 48.8%, 0%, 16.5%)
CIE-LABlab(48.66, 21.33, -57.09)
CIE-LCHlch(48.66, 60.95, 290.48°)
OKLaboklab(56.51% -0.0057 -0.1635)
OKLCHoklch(56.51% 0.164 268)
XYZxyz(20.5353, 17.3173, 65.1983)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6DD5 #D5B54D
analogous
#4DB1D5 #4D6DD5 #714DD5
triadic
#4D6DD5 #D54D6D #6DD54D
tetradic
#4D6DD5 #D54DB1 #D5B54D #4DD571
square
#4D6DD5 #D54DB1 #D5B54D #4DD571
split-complementary
#4D6DD5 #D5714D #B1D54D
monochromatic
#203888 #2C4DB9 #4D6DD5 #7F96E1 #B0BEEC

Accessibility & contrast

On white

4.70
#4D6DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4D6DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6DD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6DD5#FFFFFF#000000##FFFFFF
##4D6DD51.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357AD9
Deuteranopia (green-blind)
#146ED3
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d6dd5;
/* rgb */ color: rgb(77, 109, 213);
/* oklch */ color: oklch(56.5% 0.164 268.0);
Tailwind
colors: {
  custom: {
    50: '#8c96e2',
    500: '#4d6dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d6dd5;
$custom-light: #8c96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6dd5",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 225.882,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.16363,
    "h": 268
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#4D6DD5
secondary
#DBCEA3
accent
#BF43E5
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D6DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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