#4D4EA7#4D4EA7

#4D4EA7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.140 H 279.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D4EA7
RGBrgb(77, 78, 167)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 65%)
CMYKcmyk(53.9%, 53.3%, 0%, 34.5%)
CIE-LABlab(37.51, 25.36, -48.27)
CIE-LCHlch(37.51, 54.53, 297.71°)
OKLaboklab(47.13% 0.0221 -0.1379)
OKLCHoklch(47.13% 0.14 279.1)
XYZxyz(12.7578, 9.8158, 37.7741)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EA7 #A7A64D
analogous
#4D7BA7 #4D4EA7 #794DA7
triadic
#4D4EA7 #A74D4E #4EA74D
tetradic
#4D4EA7 #A74D7B #A7A64D #4DA779
square
#4D4EA7 #A74D7B #A7A64D #4DA779
split-complementary
#4D4EA7 #A7794D #7BA74D
monochromatic
#262753 #3A3A7D #4D4EA7 #7374BE #9D9DD2

Accessibility & contrast

On white

7.09
#4D4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D4EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4EA7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EA7#FFFFFF#000000##FFFFFF
##4D4EA71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5CAA
Deuteranopia (green-blind)
#0F55A5
Tritanopia (blue-blind)
#256273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4ea7;
/* rgb */ color: rgb(77, 78, 167);
/* oklch */ color: oklch(47.1% 0.140 279.1);
Tailwind
colors: {
  custom: {
    50: '#867fc2',
    500: '#4d4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ea7;
$custom-light: #867fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ea7",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 239.333,
    "s": 36.885,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.13969,
    "h": 279.1
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#4D4EA7
secondary
#BEBE91
accent
#CC5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4D4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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