#4D4DD9#4D4DD9

#4D4DD9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.208 H 276.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4D4DD9
RGBrgb(77, 77, 217)
HSLhsl(240, 65%, 58%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(64.5%, 64.5%, 0%, 14.9%)
CIE-LABlab(41.05, 42.48, -71.73)
CIE-LCHlch(41.05, 83.36, 300.64°)
OKLaboklab(50.93% 0.022 -0.2069)
OKLCHoklch(50.93% 0.208 276.1)
XYZxyz(18.2347, 11.8937, 66.9670)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD9 #D9D94D
analogous
#4D93D9 #4D4DD9 #934DD9
triadic
#4D4DD9 #D94D4D #4DD94D
tetradic
#4D4DD9 #D94D93 #D9D94D #4DD993
square
#4D4DD9 #D94D93 #D9D94D #4DD993
split-complementary
#4D4DD9 #D9934D #93D94D
monochromatic
#1E1E8D #2929C0 #4D4DD9 #7F7FE4 #B2B2EF

Accessibility & contrast

On white

6.21
#4D4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4D4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD9#FFFFFF#000000##FFFFFF
##4D4DD91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4dd9;
/* rgb */ color: rgb(77, 77, 217);
/* oklch */ color: oklch(50.9% 0.208 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f7fe6',
    500: '#4d4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd9;
$custom-light: #8f7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd9",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.20804,
    "h": 276.1
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#4D4DD9
secondary
#DDDDA5
accent
#E840E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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