#4D3ED5#4D3ED5

#4D3ED5 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.220 H 278.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED5
RGBrgb(77, 62, 213)
HSLhsl(246, 64%, 54%)
HSVhsv(246, 71%, 84%)
CMYKcmyk(63.8%, 70.9%, 0%, 16.5%)
CIE-LABlab(37.53, 49.82, -75.20)
CIE-LCHlch(37.53, 90.21, 303.53°)
OKLaboklab(48.29% 0.0333 -0.217)
OKLCHoklch(48.29% 0.22 278.7)
XYZxyz(16.7896, 9.8258, 63.9497)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED5 #C6D53E
analogous
#3E7BD5 #4D3ED5 #993ED5
triadic
#4D3ED5 #D54D3E #3ED54D
tetradic
#4D3ED5 #D53E7B #C6D53E #3ED599
square
#4D3ED5 #D53E7B #C6D53E #3ED599
split-complementary
#4D3ED5 #D5993E #7BD53E
monochromatic
#251B7D #3426B0 #4D3ED5 #7B70E0 #AAA3EB

Accessibility & contrast

On white

7.08
#4D3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4D3ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED5#FFFFFF#000000##FFFFFF
##4D3ED51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d3ed5;
/* rgb */ color: rgb(77, 62, 213);
/* oklch */ color: oklch(48.3% 0.220 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f75e3',
    500: '#4d3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed5;
$custom-light: #8f75e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed5",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 245.96,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.21958,
    "h": 278.7
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#4D3ED5
secondary
#D1D897
accent
#E741D7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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