#4D4EA9#4D4EA9

#4D4EA9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.143 H 279.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4D4EA9
RGBrgb(77, 78, 169)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 66%)
CMYKcmyk(54.4%, 53.8%, 0%, 33.7%)
CIE-LABlab(37.64, 26.02, -49.25)
CIE-LCHlch(37.64, 55.70, 297.85°)
OKLaboklab(47.28% 0.0222 -0.1408)
OKLCHoklch(47.28% 0.143 279)
XYZxyz(12.9441, 9.8903, 38.7554)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EA9 #A9A84D
analogous
#4D7CA9 #4D4EA9 #7A4DA9
triadic
#4D4EA9 #A94D4E #4EA94D
tetradic
#4D4EA9 #A94D7C #A9A84D #4DA97A
square
#4D4EA9 #A94D7C #A9A84D #4DA97A
split-complementary
#4D4EA9 #A97A4D #7CA94D
monochromatic
#272755 #3A3B7F #4D4EA9 #7475C0 #9E9ED3

Accessibility & contrast

On white

7.05
#4D4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4D4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4EA9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EA9#FFFFFF#000000##FFFFFF
##4D4EA91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAC
Deuteranopia (green-blind)
#0855A7
Tritanopia (blue-blind)
#226374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4ea9;
/* rgb */ color: rgb(77, 78, 169);
/* oklch */ color: oklch(47.3% 0.143 279.0);
Tailwind
colors: {
  custom: {
    50: '#867fc3',
    500: '#4d4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ea9;
$custom-light: #867fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ea9",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 239.348,
    "s": 37.398,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.14254,
    "h": 279
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#4D4EA9
secondary
#BFBF92
accent
#CC5ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4D4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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