#4D4DC2#4D4DC2

#4D4DC2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.178 H 277.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D4DC2
RGBrgb(77, 77, 194)
HSLhsl(240, 49%, 53%)
HSVhsv(240, 60%, 76%)
CMYKcmyk(60.3%, 60.3%, 0%, 23.9%)
CIE-LABlab(39.21, 34.91, -61.44)
CIE-LCHlch(39.21, 70.67, 299.61°)
OKLaboklab(49.01% 0.0235 -0.1767)
OKLCHoklch(49.01% 0.178 277.6)
XYZxyz(15.4489, 10.7794, 52.2950)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DC2 #C2C24D
analogous
#4D87C2 #4D4DC2 #874DC2
triadic
#4D4DC2 #C24D4D #4DC24D
tetradic
#4D4DC2 #C24D87 #C2C24D #4DC287
square
#4D4DC2 #C24D87 #C2C24D #4DC287
split-complementary
#4D4DC2 #C2874D #87C24D
monochromatic
#26266F #36369C #4D4DC2 #7B7BD2 #A8A8E1

Accessibility & contrast

On white

6.65
#4D4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DC2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DC2#FFFFFF#000000##FFFFFF
##4D4DC21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4dc2;
/* rgb */ color: rgb(77, 77, 194);
/* oklch */ color: oklch(49.0% 0.178 277.6);
Tailwind
colors: {
  custom: {
    50: '#8a7fd5',
    500: '#4d4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dc2;
$custom-light: #8a7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dc2",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.17822,
    "h": 277.6
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#4D4DC2
secondary
#CFCF9C
accent
#D94FD9
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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