#4D4DEB#4D4DEB

#4D4DEB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.230 H 275.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D4DEB
RGBrgb(77, 77, 235)
HSLhsl(240, 80%, 61%)
HSVhsv(240, 67%, 92%)
CMYKcmyk(67.2%, 67.2%, 0%, 7.8%)
CIE-LABlab(42.58, 48.33, -79.45)
CIE-LCHlch(42.58, 92.99, 301.31°)
OKLaboklab(52.52% 0.0202 -0.2295)
OKLCHoklch(52.52% 0.23 275)
XYZxyz(20.7049, 12.8818, 79.9765)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DEB #EBEB4D
analogous
#4D9CEB #4D4DEB #9C4DEB
triadic
#4D4DEB #EB4D4D #4DEB4D
tetradic
#4D4DEB #EB4D9C #EBEB4D #4DEB9C
square
#4D4DEB #EB4D9C #EBEB4D #4DEB9C
split-complementary
#4D4DEB #EB9C4D #9CEB4D
monochromatic
#1313AA #1919E1 #4D4DEB #8484F1 #BBBBF7

Accessibility & contrast

On white

5.87
#4D4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4D4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DEB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DEB#FFFFFF#000000##FFFFFF
##4D4DEB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4deb;
/* rgb */ color: rgb(77, 77, 235);
/* oklch */ color: oklch(52.5% 0.230 275.0);
Tailwind
colors: {
  custom: {
    50: '#9280f3',
    500: '#4d4deb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4deb;
$custom-light: #9280f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4deb",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.23035,
    "h": 275
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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