#4D4DB8#4D4DB8

#4D4DB8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.165 H 278.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4D4DB8
RGBrgb(77, 77, 184)
HSLhsl(240, 43%, 51%)
HSVhsv(240, 58%, 72%)
CMYKcmyk(58.2%, 58.2%, 0%, 27.8%)
CIE-LABlab(38.45, 31.60, -56.81)
CIE-LCHlch(38.45, 65.01, 299.09°)
OKLaboklab(48.22% 0.0237 -0.163)
OKLCHoklch(48.22% 0.165 278.3)
XYZxyz(14.3634, 10.3452, 46.5780)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DB8 #B8B84D
analogous
#4D82B8 #4D4DB8 #824DB8
triadic
#4D4DB8 #B84D4D #4DB84D
tetradic
#4D4DB8 #B84D82 #B8B84D #4DB882
square
#4D4DB8 #B84D82 #B8B84D #4DB882
split-complementary
#4D4DB8 #B8824D #82B84D
monochromatic
#282863 #39398F #4D4DB8 #7979C9 #A4A4DB

Accessibility & contrast

On white

6.84
#4D4DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D4DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DB8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DB8#FFFFFF#000000##FFFFFF
##4D4DB81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#06667B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d4db8;
/* rgb */ color: rgb(77, 77, 184);
/* oklch */ color: oklch(48.2% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#897fce',
    500: '#4d4db8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4db8;
$custom-light: #897fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4db8",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.16475,
    "h": 278.3
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#4D4DB8
secondary
#C8C899
accent
#D355D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4D4DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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