#4D519F#4D519F

#4D519F is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.124 H 278.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4D519F
RGBrgb(77, 81, 159)
HSLhsl(237, 35%, 46%)
HSVhsv(237, 52%, 62%)
CMYKcmyk(51.6%, 49.1%, 0%, 37.6%)
CIE-LABlab(37.78, 20.82, -43.06)
CIE-LCHlch(37.78, 47.83, 295.80°)
OKLaboklab(47.17% 0.0179 -0.1226)
OKLCHoklch(47.17% 0.124 278.3)
XYZxyz(12.2591, 9.9651, 34.0717)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D519F #9F9B4D
analogous
#4D7A9F #4D519F #724D9F
triadic
#4D519F #9F4D51 #519F4D
tetradic
#4D519F #9F4D7A #9F9B4D #4D9F72
square
#4D519F #9F4D7A #9F9B4D #4D9F72
split-complementary
#4D519F #9F724D #7A9F4D
monochromatic
#25274D #393C76 #4D519F #7073BA #999BCE

Accessibility & contrast

On white

7.02
#4D519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D519F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D519F#FFFFFF#000000##FFFFFF
##4D519F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#2C6270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d519f;
/* rgb */ color: rgb(77, 81, 159);
/* oklch */ color: oklch(47.2% 0.124 278.3);
Tailwind
colors: {
  custom: {
    50: '#8581bc',
    500: '#4d519f',
    950: '#000000',
  },
}
SCSS
$custom: #4d519f;
$custom-light: #8581bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d519f",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 237.073,
    "s": 34.746,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.12387,
    "h": 278.3
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#4D519F
secondary
#BAB88E
accent
#C55DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D519F

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

Preview Lab → · Contrast checker → · Palette generator →

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