#4D4EEC#4D4EEC

#4D4EEC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.231 H 274.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4D4EEC
RGBrgb(77, 78, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 67%, 93%)
CMYKcmyk(67.4%, 66.9%, 0%, 7.5%)
CIE-LABlab(42.88, 48.07, -79.52)
CIE-LCHlch(42.88, 92.92, 301.16°)
OKLaboklab(52.76% 0.0194 -0.2297)
OKLCHoklch(52.76% 0.231 274.8)
XYZxyz(20.9203, 13.0808, 80.7630)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EEC #ECEB4D
analogous
#4D9EEC #4D4EEC #9C4DEC
triadic
#4D4EEC #EC4D4E #4EEC4D
tetradic
#4D4EEC #EC4D9E #ECEB4D #4DEC9C
square
#4D4EEC #EC4D9E #ECEB4D #4DEC9C
split-complementary
#4D4EEC #EC9C4D #9EEC4D
monochromatic
#1213AC #181AE4 #4D4EEC #8485F2 #BCBCF8

Accessibility & contrast

On white

5.81
#4D4EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D4EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EEC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EEC#FFFFFF#000000##FFFFFF
##4D4EEC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d4eec;
/* rgb */ color: rgb(77, 78, 236);
/* oklch */ color: oklch(52.8% 0.231 274.8);
Tailwind
colors: {
  custom: {
    50: '#9280f3',
    500: '#4d4eec',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eec;
$custom-light: #9280f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eec",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 239.623,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.2305,
    "h": 274.8
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#4D4EEC
secondary
#E8E8AD
accent
#DC08DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4D4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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