#4D4DCA#4D4DCA

#4D4DCA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.189 H 277.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4D4DCA
RGBrgb(77, 77, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 62%, 79%)
CMYKcmyk(61.9%, 61.9%, 0%, 20.8%)
CIE-LABlab(39.83, 37.55, -65.08)
CIE-LCHlch(39.83, 75.14, 299.99°)
OKLaboklab(49.66% 0.0231 -0.1873)
OKLCHoklch(49.66% 0.189 277)
XYZxyz(16.3717, 11.1485, 57.1548)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DCA #CACA4D
analogous
#4D8CCA #4D4DCA #8C4DCA
triadic
#4D4DCA #CA4D4D #4DCA4D
tetradic
#4D4DCA #CA4D8C #CACA4D #4DCA8C
square
#4D4DCA #CA4D8C #CACA4D #4DCA8C
split-complementary
#4D4DCA #CA8C4D #8CCA4D
monochromatic
#242479 #3232A8 #4D4DCA #7C7CD8 #ABABE6

Accessibility & contrast

On white

6.50
#4D4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DCA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DCA#FFFFFF#000000##FFFFFF
##4D4DCA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4dca;
/* rgb */ color: rgb(77, 77, 202);
/* oklch */ color: oklch(49.7% 0.189 277.0);
Tailwind
colors: {
  custom: {
    50: '#8c7fdb',
    500: '#4d4dca',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dca;
$custom-light: #8c7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dca",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.18877,
    "h": 277
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#4D4DCA
secondary
#D4D49F
accent
#DD4ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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