#4D6CD6#4D6CD6

#4D6CD6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.166 H 268.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D6CD6
RGBrgb(77, 108, 214)
HSLhsl(226, 63%, 57%)
HSVhsv(226, 64%, 84%)
CMYKcmyk(64%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.46, 22.30, -57.99)
CIE-LCHlch(48.46, 62.13, 291.04°)
OKLaboklab(56.38% -0.0047 -0.1662)
OKLCHoklch(56.38% 0.166 268.4)
XYZxyz(20.5566, 17.1561, 65.8334)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CD6 #D6B74D
analogous
#4DB1D6 #4D6CD6 #724DD6
triadic
#4D6CD6 #D64D6C #6CD64D
tetradic
#4D6CD6 #D64DB1 #D6B74D #4DD672
square
#4D6CD6 #D64DB1 #D6B74D #4DD672
split-complementary
#4D6CD6 #D6724D #B1D64D
monochromatic
#203789 #2B4CBB #4D6CD6 #7F95E1 #B0BEED

Accessibility & contrast

On white

4.74
#4D6CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4D6CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6CD6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6CD6#FFFFFF#000000##FFFFFF
##4D6CD61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#0A6DD4
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d6cd6;
/* rgb */ color: rgb(77, 108, 214);
/* oklch */ color: oklch(56.4% 0.166 268.4);
Tailwind
colors: {
  custom: {
    50: '#8c95e3',
    500: '#4d6cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cd6;
$custom-light: #8c95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cd6",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 226.423,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.16624,
    "h": 268.4
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#4D6CD6
secondary
#DBCFA4
accent
#C142E6
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4D6CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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