#4D66CE#4D66CE

#4D66CE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.163 H 270.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4D66CE
RGBrgb(77, 102, 206)
HSLhsl(228, 57%, 55%)
HSVhsv(228, 63%, 81%)
CMYKcmyk(62.6%, 50.5%, 0%, 19.2%)
CIE-LABlab(46.36, 23.30, -56.80)
CIE-LCHlch(46.36, 61.39, 292.31°)
OKLaboklab(54.63% 0.0002 -0.1627)
OKLCHoklch(54.63% 0.163 270.1)
XYZxyz(18.9488, 15.5351, 60.3806)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66CE #CEB54D
analogous
#4DA6CE #4D66CE #744DCE
triadic
#4D66CE #CE4D66 #66CE4D
tetradic
#4D66CE #CE4DA6 #CEB54D #4DCE74
square
#4D66CE #CE4DA6 #CEB54D #4DCE74
split-complementary
#4D66CE #CE744D #A6CE4D
monochromatic
#23347E #3048AE #4D66CE #7D8FDB #ADB8E8

Accessibility & contrast

On white

5.11
#4D66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4D66CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66CE#FFFFFF#000000##FFFFFF
##4D66CE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D2
Deuteranopia (green-blind)
#0368CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d66ce;
/* rgb */ color: rgb(77, 102, 206);
/* oklch */ color: oklch(54.6% 0.163 270.1);
Tailwind
colors: {
  custom: {
    50: '#8b91de',
    500: '#4d66ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d66ce;
$custom-light: #8b91de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66ce",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 228.372,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.16275,
    "h": 270.1
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#4D66CE
secondary
#D6CCA1
accent
#C348E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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