#4D4DEA#4D4DEA

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

Color values

HEX#4D4DEA
RGBrgb(77, 77, 234)
HSLhsl(240, 79%, 61%)
HSVhsv(240, 67%, 92%)
CMYKcmyk(67.1%, 67.1%, 0%, 8.2%)
CIE-LABlab(42.50, 48.01, -79.02)
CIE-LCHlch(42.50, 92.46, 301.28°)
OKLaboklab(52.43% 0.0203 -0.2282)
OKLCHoklch(52.43% 0.229 275.1)
XYZxyz(20.5608, 12.8242, 79.2177)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DEA #EAEA4D
analogous
#4D9BEA #4D4DEA #9B4DEA
triadic
#4D4DEA #EA4D4D #4DEA4D
tetradic
#4D4DEA #EA4D9B #EAEA4D #4DEA9B
square
#4D4DEA #EA4D9B #EAEA4D #4DEA9B
split-complementary
#4D4DEA #EA9B4D #9BEA4D
monochromatic
#1414A9 #1A1ADF #4D4DEA #8484F0 #BABAF7

Accessibility & contrast

On white

5.89
#4D4DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4D4DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DEA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DEA#FFFFFF#000000##FFFFFF
##4D4DEA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d4dea;
/* rgb */ color: rgb(77, 77, 234);
/* oklch */ color: oklch(52.4% 0.229 275.1);
Tailwind
colors: {
  custom: {
    50: '#9280f2',
    500: '#4d4dea',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dea;
$custom-light: #9280f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dea",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.22913,
    "h": 275.1
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#4D4DEA
secondary
#E7E7AC
accent
#DB0ADB
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4D4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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