#4D4EA3#4D4EA3

#4D4EA3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.134 H 279.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4D4EA3
RGBrgb(77, 78, 163)
HSLhsl(239, 36%, 47%)
HSVhsv(239, 53%, 64%)
CMYKcmyk(52.8%, 52.1%, 0%, 36.1%)
CIE-LABlab(37.24, 24.05, -46.31)
CIE-LCHlch(37.24, 52.18, 297.44°)
OKLaboklab(46.85% 0.0218 -0.1322)
OKLCHoklch(46.85% 0.134 279.4)
XYZxyz(12.3938, 9.6702, 35.8567)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EA3 #A3A24D
analogous
#4D79A3 #4D4EA3 #774DA3
triadic
#4D4EA3 #A34D4E #4EA34D
tetradic
#4D4EA3 #A34D79 #A3A24D #4DA377
square
#4D4EA3 #A34D79 #A3A24D #4DA377
split-complementary
#4D4EA3 #A3774D #79A34D
monochromatic
#262650 #393A79 #4D4EA3 #7172BC #9B9BD0

Accessibility & contrast

On white

7.16
#4D4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D4EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4EA3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EA3#FFFFFF#000000##FFFFFF
##4D4EA31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#296171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4ea3;
/* rgb */ color: rgb(77, 78, 163);
/* oklch */ color: oklch(46.8% 0.134 279.4);
Tailwind
colors: {
  custom: {
    50: '#857fbf',
    500: '#4d4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ea3;
$custom-light: #857fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ea3",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 239.302,
    "s": 35.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.13395,
    "h": 279.4
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#4D4EA3
secondary
#BCBC90
accent
#CB5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4D4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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