#4D4CD2#4D4CD2

#4D4CD2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.2% C 0.200 H 276.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4D4CD2
RGBrgb(77, 76, 210)
HSLhsl(240, 60%, 56%)
HSVhsv(240, 64%, 82%)
CMYKcmyk(63.3%, 63.8%, 0%, 17.6%)
CIE-LABlab(40.24, 40.79, -69.02)
CIE-LCHlch(40.24, 80.17, 300.58°)
OKLaboklab(50.17% 0.0234 -0.1989)
OKLCHoklch(50.17% 0.2 276.7)
XYZxyz(17.2741, 11.3984, 62.2501)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CD2 #D1D24C
analogous
#4C8ED2 #4D4CD2 #904CD2
triadic
#4D4CD2 #D24D4C #4CD24D
tetradic
#4D4CD2 #D24C8E #D1D24C #4CD290
square
#4D4CD2 #D24C8E #D1D24C #4CD290
split-complementary
#4D4CD2 #D2904C #8ED24C
monochromatic
#222183 #2E2DB4 #4D4CD2 #7E7DDE #AEAEEB

Accessibility & contrast

On white

6.40
#4D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CD2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CD2#FFFFFF#000000##FFFFFF
##4D4CD21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d4cd2;
/* rgb */ color: rgb(77, 76, 210);
/* oklch */ color: oklch(50.2% 0.200 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d7ee1',
    500: '#4d4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cd2;
$custom-light: #8d7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cd2",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 240.448,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.2003,
    "h": 276.7
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#4D4CD2
secondary
#D8D9A1
accent
#E345E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4D4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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