#4D3EC2#4D3EC2

#4D3EC2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.5% C 0.196 H 280.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D3EC2
RGBrgb(77, 62, 194)
HSLhsl(247, 52%, 50%)
HSVhsv(247, 68%, 76%)
CMYKcmyk(60.3%, 68%, 0%, 23.9%)
CIE-LABlab(35.82, 43.89, -66.96)
CIE-LCHlch(35.82, 80.07, 303.24°)
OKLaboklab(46.55% 0.0364 -0.1929)
OKLCHoklch(46.55% 0.196 280.7)
XYZxyz(14.5177, 8.9170, 51.9846)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EC2 #B3C23E
analogous
#3E71C2 #4D3EC2 #8F3EC2
triadic
#4D3EC2 #C24D3E #3EC24D
tetradic
#4D3EC2 #C23E71 #B3C23E #3EC28F
square
#4D3EC2 #C23E71 #B3C23E #3EC28F
split-complementary
#4D3EC2 #C28F3E #71C23E
monochromatic
#282066 #3A2F94 #4D3EC2 #786DD1 #A39BDF

Accessibility & contrast

On white

7.54
#4D3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D3EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EC2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EC2#FFFFFF#000000##FFFFFF
##4D3EC21.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d3ec2;
/* rgb */ color: rgb(77, 62, 194);
/* oklch */ color: oklch(46.5% 0.196 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c75d6',
    500: '#4d3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ec2;
$custom-light: #8c75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ec2",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 246.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.19634,
    "h": 280.7
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#4D3EC2
secondary
#C5CB90
accent
#DB4CCB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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