#4D4EC9#4D4EC9

#4D4EC9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.186 H 276.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4D4EC9
RGBrgb(77, 78, 201)
HSLhsl(240, 53%, 55%)
HSVhsv(240, 62%, 79%)
CMYKcmyk(61.7%, 61.2%, 0%, 21.2%)
CIE-LABlab(39.99, 36.61, -64.24)
CIE-LCHlch(39.99, 73.94, 299.68°)
OKLaboklab(49.75% 0.0223 -0.1849)
OKLCHoklch(49.75% 0.186 276.9)
XYZxyz(16.3242, 11.2423, 56.5568)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EC9 #C9C84D
analogous
#4D8CC9 #4D4EC9 #8A4DC9
triadic
#4D4EC9 #C94D4E #4EC94D
tetradic
#4D4EC9 #C94D8C #C9C84D #4DC98A
square
#4D4EC9 #C94D8C #C9C84D #4DC98A
split-complementary
#4D4EC9 #C98A4D #8CC94D
monochromatic
#242577 #3233A6 #4D4EC9 #7C7DD7 #ABABE5

Accessibility & contrast

On white

6.46
#4D4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D4EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EC9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EC9#FFFFFF#000000##FFFFFF
##4D4EC91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d4ec9;
/* rgb */ color: rgb(77, 78, 201);
/* oklch */ color: oklch(49.8% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#8c80da',
    500: '#4d4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ec9;
$custom-light: #8c80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ec9",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 239.516,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.18623,
    "h": 276.9
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#4D4EC9
secondary
#D3D39F
accent
#DC4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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