#4D519A#4D519A

#4D519A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.8% C 0.116 H 278.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4D519A
RGBrgb(77, 81, 154)
HSLhsl(237, 33%, 45%)
HSVhsv(237, 50%, 60%)
CMYKcmyk(50%, 47.4%, 0%, 39.6%)
CIE-LABlab(37.47, 19.19, -40.55)
CIE-LCHlch(37.47, 44.86, 295.32°)
OKLaboklab(46.84% 0.0173 -0.1152)
OKLCHoklch(46.84% 0.116 278.5)
XYZxyz(11.8339, 9.7951, 31.8327)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D519A #9A964D
analogous
#4D779A #4D519A #6F4D9A
triadic
#4D519A #9A4D51 #519A4D
tetradic
#4D519A #9A4D77 #9A964D #4D9A6F
square
#4D519A #9A4D77 #9A964D #4D9A6F
split-complementary
#4D519A #9A6F4D #779A4D
monochromatic
#242648 #393C71 #4D519A #6E72B6 #9799CB

Accessibility & contrast

On white

7.10
#4D519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D519A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D519A#FFFFFF#000000##FFFFFF
##4D519A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#30616E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d519a;
/* rgb */ color: rgb(77, 81, 154);
/* oklch */ color: oklch(46.8% 0.116 278.5);
Tailwind
colors: {
  custom: {
    50: '#8481b8',
    500: '#4d519a',
    950: '#000000',
  },
}
SCSS
$custom: #4d519a;
$custom-light: #8481b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d519a",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 236.883,
    "s": 33.333,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.11649,
    "h": 278.5
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#4D519A
secondary
#B7B58C
accent
#C45EC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D519A

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

Preview Lab → · Contrast checker → · Palette generator →

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