#4D4DD6#4D4DD6

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

Color values

HEX#4D4DD6
RGBrgb(77, 77, 214)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64%, 64%, 0%, 16.1%)
CIE-LABlab(40.80, 41.50, -70.41)
CIE-LCHlch(40.80, 81.73, 300.51°)
OKLaboklab(50.67% 0.0223 -0.203)
OKLCHoklch(50.67% 0.204 276.3)
XYZxyz(17.8481, 11.7391, 64.9306)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD6 #D6D64D
analogous
#4D92D6 #4D4DD6 #924DD6
triadic
#4D4DD6 #D64D4D #4DD64D
tetradic
#4D4DD6 #D64D92 #D6D64D #4DD692
square
#4D4DD6 #D64D92 #D6D64D #4DD692
split-complementary
#4D4DD6 #D6924D #92D64D
monochromatic
#202089 #2B2BBB #4D4DD6 #7F7FE1 #B0B0ED

Accessibility & contrast

On white

6.27
#4D4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD6#FFFFFF#000000##FFFFFF
##4D4DD61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4dd6;
/* rgb */ color: rgb(77, 77, 214);
/* oklch */ color: oklch(50.7% 0.204 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e7fe4',
    500: '#4d4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd6;
$custom-light: #8e7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd6",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 240,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.20423,
    "h": 276.3
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#4D4DD6
secondary
#DBDBA4
accent
#E642E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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