#4D4CEB#4D4CEB

#4D4CEB is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.231 H 275.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4D4CEB
RGBrgb(77, 76, 235)
HSLhsl(240, 80%, 61%)
HSVhsv(240, 68%, 92%)
CMYKcmyk(67.2%, 67.7%, 0%, 7.8%)
CIE-LABlab(42.37, 48.90, -79.79)
CIE-LCHlch(42.37, 93.59, 301.50°)
OKLaboklab(52.37% 0.0208 -0.2305)
OKLCHoklch(52.37% 0.231 275.2)
XYZxyz(20.6355, 12.7429, 79.9533)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CEB #EAEB4C
analogous
#4C9AEB #4D4CEB #9C4CEB
triadic
#4D4CEB #EB4D4C #4CEB4D
tetradic
#4D4CEB #EB4C9A #EAEB4C #4CEB9C
square
#4D4CEB #EB4C9A #EAEB4C #4CEB9C
split-complementary
#4D4CEB #EB9C4C #9AEB4C
monochromatic
#1413AA #1A19E1 #4D4CEB #8483F1 #BABAF7

Accessibility & contrast

On white

5.92
#4D4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CEB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CEB#FFFFFF#000000##FFFFFF
##4D4CEB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4ceb;
/* rgb */ color: rgb(77, 76, 235);
/* oklch */ color: oklch(52.4% 0.231 275.2);
Tailwind
colors: {
  custom: {
    50: '#927ff3',
    500: '#4d4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ceb;
$custom-light: #927ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ceb",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 240.377,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.23142,
    "h": 275.2
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#4D4CEB
secondary
#E7E7AB
accent
#DC09DB
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4D4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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