#4D66D2#4D66D2

#4D66D2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.168 H 270.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4D66D2
RGBrgb(77, 102, 210)
HSLhsl(229, 60%, 56%)
HSVhsv(229, 63%, 82%)
CMYKcmyk(63.3%, 51.4%, 0%, 17.6%)
CIE-LABlab(46.62, 24.68, -58.67)
CIE-LCHlch(46.62, 63.65, 292.82°)
OKLaboklab(54.91% 0.0006 -0.1682)
OKLCHoklch(54.91% 0.168 270.2)
XYZxyz(19.4409, 15.7320, 62.9723)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66D2 #D2B94D
analogous
#4DA9D2 #4D66D2 #774DD2
triadic
#4D66D2 #D24D66 #66D24D
tetradic
#4D66D2 #D24DA9 #D2B94D #4DD277
square
#4D66D2 #D24DA9 #D2B94D #4DD277
split-complementary
#4D66D2 #D2774D #A9D24D
monochromatic
#213483 #2E47B4 #4D66D2 #7E90DE #AFBAEB

Accessibility & contrast

On white

5.06
#4D66D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4D66D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66D2#FFFFFF#000000##FFFFFF
##4D66D21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d66d2;
/* rgb */ color: rgb(77, 102, 210);
/* oklch */ color: oklch(54.9% 0.168 270.2);
Tailwind
colors: {
  custom: {
    50: '#8c91e0',
    500: '#4d66d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d66d2;
$custom-light: #8c91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66d2",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 228.722,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.16824,
    "h": 270.2
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#4D66D2
secondary
#D9CEA2
accent
#C545E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66D2

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

Preview Lab → · Contrast checker → · Palette generator →

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