#4D4EB3#4D4EB3

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

Color values

HEX#4D4EB3
RGBrgb(77, 78, 179)
HSLhsl(239, 40%, 50%)
HSVhsv(239, 57%, 70%)
CMYKcmyk(57%, 56.4%, 0%, 29.8%)
CIE-LABlab(38.34, 29.32, -54.05)
CIE-LCHlch(38.34, 61.49, 298.48°)
OKLaboklab(48.02% 0.0226 -0.1549)
OKLCHoklch(48.02% 0.157 278.3)
XYZxyz(13.9191, 10.2803, 43.8899)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EB3 #B3B24D
analogous
#4D81B3 #4D4EB3 #7F4DB3
triadic
#4D4EB3 #B34D4E #4EB34D
tetradic
#4D4EB3 #B34D81 #B3B24D #4DB37F
square
#4D4EB3 #B34D81 #B3B24D #4DB37F
split-complementary
#4D4EB3 #B37F4D #81B34D
monochromatic
#28295E #3A3B89 #4D4EB3 #7879C5 #A3A3D8

Accessibility & contrast

On white

6.87
#4D4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D4EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EB3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EB3#FFFFFF#000000##FFFFFF
##4D4EB31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#136679
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4eb3;
/* rgb */ color: rgb(77, 78, 179);
/* oklch */ color: oklch(48.0% 0.157 278.3);
Tailwind
colors: {
  custom: {
    50: '#887fca',
    500: '#4d4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eb3;
$custom-light: #887fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eb3",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 239.412,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48019,
    "c": 0.15656,
    "h": 278.3
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#4D4EB3
secondary
#C5C497
accent
#CF58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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