#4D4EA0#4D4EA0

#4D4EA0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.130 H 279.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4D4EA0
RGBrgb(77, 78, 160)
HSLhsl(239, 35%, 46%)
HSVhsv(239, 52%, 63%)
CMYKcmyk(51.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(37.05, 23.07, -44.83)
CIE-LCHlch(37.05, 50.42, 297.23°)
OKLaboklab(46.64% 0.0216 -0.1278)
OKLCHoklch(46.64% 0.13 279.6)
XYZxyz(12.1282, 9.5639, 34.4578)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EA0 #A09F4D
analogous
#4D78A0 #4D4EA0 #764DA0
triadic
#4D4EA0 #A04D4E #4EA04D
tetradic
#4D4EA0 #A04D78 #A09F4D #4DA076
square
#4D4EA0 #A04D78 #A09F4D #4DA076
split-complementary
#4D4EA0 #A0764D #78A04D
monochromatic
#25264D #393A77 #4D4EA0 #7071BA #999ACE

Accessibility & contrast

On white

7.21
#4D4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4EA0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EA0#FFFFFF#000000##FFFFFF
##4D4EA01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#2B606F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4ea0;
/* rgb */ color: rgb(77, 78, 160);
/* oklch */ color: oklch(46.6% 0.130 279.6);
Tailwind
colors: {
  custom: {
    50: '#857fbd',
    500: '#4d4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ea0;
$custom-light: #857fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ea0",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 239.277,
    "s": 35.021,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.12961,
    "h": 279.6
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#4D4EA0
secondary
#BBBA8E
accent
#CA5DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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