#4D66EA#4D66EA

#4D66EA is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.7% C 0.200 H 270.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4D66EA
RGBrgb(77, 102, 234)
HSLhsl(230, 79%, 61%)
HSVhsv(230, 67%, 92%)
CMYKcmyk(67.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(48.28, 32.94, -69.57)
CIE-LCHlch(48.28, 76.98, 295.34°)
OKLaboklab(56.68% 0.0019 -0.2003)
OKLCHoklch(56.68% 0.2 270.6)
XYZxyz(22.6582, 17.0189, 79.9168)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D66EA #EAD14D
analogous
#4DB4EA #4D66EA #824DEA
triadic
#4D66EA #EA4D66 #66EA4D
tetradic
#4D66EA #EA4DB4 #EAD14D #4DEA82
square
#4D66EA #EA4DB4 #EAD14D #4DEA82
split-complementary
#4D66EA #EA824D #B4EA4D
monochromatic
#142CA9 #1A3ADF #4D66EA #8495F0 #BAC4F7

Accessibility & contrast

On white

4.77
#4D66EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4D66EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D66EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D66EA#FFFFFF#000000##FFFFFF
##4D66EA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d66ea;
/* rgb */ color: rgb(77, 102, 234);
/* oklch */ color: oklch(56.7% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#9091f2',
    500: '#4d66ea',
    950: '#000000',
  },
}
SCSS
$custom: #4d66ea;
$custom-light: #9091f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d66ea",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 230.446,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.20034,
    "h": 270.6
  },
  "luminance": 0.17021
}

Semantic roles & 50–950 ramp

primary
#4D66EA
secondary
#E7DEAC
accent
#BA0ADB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4D66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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