#4D66D3#4D66D3

#4D66D3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.170 H 270.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D66D3
RGBrgb(77, 102, 211)
HSLhsl(229, 60%, 56%)
HSVhsv(229, 64%, 83%)
CMYKcmyk(63.5%, 51.7%, 0%, 17.3%)
CIE-LABlab(46.69, 25.02, -59.13)
CIE-LCHlch(46.69, 64.21, 292.94°)
OKLaboklab(54.98% 0.0007 -0.1696)
OKLCHoklch(54.98% 0.17 270.2)
XYZxyz(19.5658, 15.7819, 63.6305)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66D3 #D3BA4D
analogous
#4DA9D3 #4D66D3 #774DD3
triadic
#4D66D3 #D34D66 #66D34D
tetradic
#4D66D3 #D34DA9 #D3BA4D #4DD377
square
#4D66D3 #D34DA9 #D3BA4D #4DD377
split-complementary
#4D66D3 #D3774D #A9D34D
monochromatic
#213385 #2D46B6 #4D66D3 #7E90DF #AFBAEB

Accessibility & contrast

On white

5.05
#4D66D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4D66D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66D3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66D3#FFFFFF#000000##FFFFFF
##4D66D31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2475D7
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d66d3;
/* rgb */ color: rgb(77, 102, 211);
/* oklch */ color: oklch(55.0% 0.170 270.2);
Tailwind
colors: {
  custom: {
    50: '#8c91e1',
    500: '#4d66d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d66d3;
$custom-light: #8c91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66d3",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 228.806,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.16961,
    "h": 270.2
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#4D66D3
secondary
#D9CFA2
accent
#C644E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D66D3

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

Preview Lab → · Contrast checker → · Palette generator →

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