#4D66D7#4D66D7

#4D66D7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.175 H 270.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D66D7
RGBrgb(77, 102, 215)
HSLhsl(229, 63%, 57%)
HSVhsv(229, 64%, 84%)
CMYKcmyk(64.2%, 52.6%, 0%, 15.7%)
CIE-LABlab(46.95, 26.40, -60.98)
CIE-LCHlch(46.95, 66.45, 293.41°)
OKLaboklab(55.27% 0.001 -0.175)
OKLCHoklch(55.27% 0.175 270.3)
XYZxyz(20.0735, 15.9850, 66.3044)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66D7 #D7BE4D
analogous
#4DABD7 #4D66D7 #794DD7
triadic
#4D66D7 #D74D66 #66D74D
tetradic
#4D66D7 #D74DAB #D7BE4D #4DD779
square
#4D66D7 #D74DAB #D7BE4D #4DD779
split-complementary
#4D66D7 #D7794D #ABD74D
monochromatic
#1F338A #2A45BC #4D66D7 #7F91E2 #B1BCED

Accessibility & contrast

On white

5.00
#4D66D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D66D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66D7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66D7#FFFFFF#000000##FFFFFF
##4D66D71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d66d7;
/* rgb */ color: rgb(77, 102, 215);
/* oklch */ color: oklch(55.3% 0.175 270.3);
Tailwind
colors: {
  custom: {
    50: '#8d91e4',
    500: '#4d66d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d66d7;
$custom-light: #8d91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66d7",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 229.13,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.17505,
    "h": 270.3
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#4D66D7
secondary
#DCD2A4
accent
#C841E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D66D7

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

Preview Lab → · Contrast checker → · Palette generator →

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