#4D4EDB#4D4EDB

#4D4EDB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.3% C 0.209 H 275.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4D4EDB
RGBrgb(77, 78, 219)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(64.8%, 64.4%, 0%, 14.1%)
CIE-LABlab(41.44, 42.54, -72.23)
CIE-LCHlch(41.44, 83.83, 300.50°)
OKLaboklab(51.27% 0.0211 -0.2083)
OKLCHoklch(51.27% 0.209 275.8)
XYZxyz(18.5669, 12.1394, 68.3688)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EDB #DBDA4D
analogous
#4D95DB #4D4EDB #934DDB
triadic
#4D4EDB #DB4D4E #4EDB4D
tetradic
#4D4EDB #DB4D95 #DBDA4D #4DDB93
square
#4D4EDB #DB4D95 #DBDA4D #4DDB93
split-complementary
#4D4EDB #DB934D #95DB4D
monochromatic
#1D1E90 #2729C3 #4D4EDB #8081E5 #B3B3F0

Accessibility & contrast

On white

6.13
#4D4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EDB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EDB#FFFFFF#000000##FFFFFF
##4D4EDB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d4edb;
/* rgb */ color: rgb(77, 78, 219);
/* oklch */ color: oklch(51.3% 0.209 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f80e7',
    500: '#4d4edb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4edb;
$custom-light: #8f80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4edb",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 239.577,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20942,
    "h": 275.8
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#4D4EDB
secondary
#DEDEA6
accent
#E83FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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