#4D4DD5#4D4DD5

#4D4DD5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.203 H 276.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D4DD5
RGBrgb(77, 77, 213)
HSLhsl(240, 62%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(63.8%, 63.8%, 0%, 16.5%)
CIE-LABlab(40.72, 41.17, -69.97)
CIE-LCHlch(40.72, 81.19, 300.47°)
OKLaboklab(50.59% 0.0224 -0.2017)
OKLCHoklch(50.59% 0.203 276.3)
XYZxyz(17.7208, 11.6882, 64.2601)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD5 #D5D54D
analogous
#4D91D5 #4D4DD5 #914DD5
triadic
#4D4DD5 #D54D4D #4DD54D
tetradic
#4D4DD5 #D54D91 #D5D54D #4DD591
square
#4D4DD5 #D54D91 #D5D54D #4DD591
split-complementary
#4D4DD5 #D5914D #91D54D
monochromatic
#202088 #2C2CB9 #4D4DD5 #7F7FE1 #B0B0EC

Accessibility & contrast

On white

6.29
#4D4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD5#FFFFFF#000000##FFFFFF
##4D4DD51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d4dd5;
/* rgb */ color: rgb(77, 77, 213);
/* oklch */ color: oklch(50.6% 0.203 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e7fe3',
    500: '#4d4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd5;
$custom-light: #8e7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd5",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.20296,
    "h": 276.3
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#4D4DD5
secondary
#DBDBA3
accent
#E543E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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