#4D4DD2#4D4DD2

#4D4DD2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.199 H 276.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4D4DD2
RGBrgb(77, 77, 210)
HSLhsl(240, 60%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(63.3%, 63.3%, 0%, 17.6%)
CIE-LABlab(40.47, 40.19, -68.65)
CIE-LCHlch(40.47, 79.55, 300.34°)
OKLaboklab(50.33% 0.0226 -0.1978)
OKLCHoklch(50.33% 0.199 276.5)
XYZxyz(17.3435, 11.5373, 62.2732)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DD2 #D2D24D
analogous
#4D90D2 #4D4DD2 #904DD2
triadic
#4D4DD2 #D24D4D #4DD24D
tetradic
#4D4DD2 #D24D90 #D2D24D #4DD290
square
#4D4DD2 #D24D90 #D2D24D #4DD290
split-complementary
#4D4DD2 #D2904D #90D24D
monochromatic
#212183 #2E2EB4 #4D4DD2 #7E7EDE #AFAFEB

Accessibility & contrast

On white

6.35
#4D4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D4DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DD2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DD2#FFFFFF#000000##FFFFFF
##4D4DD21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4dd2;
/* rgb */ color: rgb(77, 77, 210);
/* oklch */ color: oklch(50.3% 0.199 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d7fe1',
    500: '#4d4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dd2;
$custom-light: #8d7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dd2",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.19913,
    "h": 276.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#4D4DD2
secondary
#D9D9A2
accent
#E345E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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