#4D4CEC#4D4CEC

#4D4CEC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.233 H 275.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D4CEC
RGBrgb(77, 76, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 68%, 93%)
CMYKcmyk(67.4%, 67.8%, 0%, 7.5%)
CIE-LABlab(42.46, 49.22, -80.21)
CIE-LCHlch(42.46, 94.11, 301.54°)
OKLaboklab(52.46% 0.0207 -0.2317)
OKLCHoklch(52.46% 0.233 275.1)
XYZxyz(20.7803, 12.8009, 80.7163)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CEC #EBEC4C
analogous
#4C9BEC #4D4CEC #9D4CEC
triadic
#4D4CEC #EC4D4C #4CEC4D
tetradic
#4D4CEC #EC4C9B #EBEC4C #4CEC9D
square
#4D4CEC #EC4C9B #EBEC4C #4CEC9D
split-complementary
#4D4CEC #EC9D4C #9BEC4C
monochromatic
#1312AB #1918E3 #4D4CEC #8483F2 #BBBBF8

Accessibility & contrast

On white

5.90
#4D4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D4CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CEC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CEC#FFFFFF#000000##FFFFFF
##4D4CEC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#005DE9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d4cec;
/* rgb */ color: rgb(77, 76, 236);
/* oklch */ color: oklch(52.5% 0.233 275.1);
Tailwind
colors: {
  custom: {
    50: '#927ff3',
    500: '#4d4cec',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cec;
$custom-light: #927ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cec",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 240.375,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.23263,
    "h": 275.1
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#4D4CEC
secondary
#E8E8AC
accent
#DD08DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4D4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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