#4D66EC#4D66EC

#4D66EC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 56.8% C 0.203 H 270.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D66EC
RGBrgb(77, 102, 236)
HSLhsl(231, 81%, 61%)
HSVhsv(231, 67%, 93%)
CMYKcmyk(67.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(48.43, 33.63, -70.46)
CIE-LCHlch(48.43, 78.07, 295.51°)
OKLaboklab(56.84% 0.002 -0.2029)
OKLCHoklch(56.84% 0.203 270.6)
XYZxyz(22.9471, 17.1345, 81.4386)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66EC #ECD34D
analogous
#4DB6EC #4D66EC #844DEC
triadic
#4D66EC #EC4D66 #66EC4D
tetradic
#4D66EC #EC4DB6 #ECD34D #4DEC84
square
#4D66EC #EC4DB6 #ECD34D #4DEC84
split-complementary
#4D66EC #EC844D #B6EC4D
monochromatic
#122BAC #1838E4 #4D66EC #8496F2 #BCC5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D66EC#FFFFFF#000000##FFFFFF
##4D66EC1.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)
#007AF1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d66ec;
/* rgb */ color: rgb(77, 102, 236);
/* oklch */ color: oklch(56.8% 0.203 270.6);
Tailwind
colors: {
  custom: {
    50: '#9091f3',
    500: '#4d66ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d66ec;
$custom-light: #9091f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66ec",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 230.566,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.20295,
    "h": 270.6
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#4D66EC
secondary
#E8DFAD
accent
#BC08DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4D66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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