#4D3EB4#4D3EB4

#4D3EB4 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.179 H 282.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB4
RGBrgb(77, 62, 180)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.2%, 65.6%, 0%, 29.4%)
CIE-LABlab(34.64, 39.48, -60.66)
CIE-LCHlch(34.64, 72.38, 303.06°)
OKLaboklab(45.32% 0.0383 -0.1744)
OKLCHoklch(45.32% 0.179 282.4)
XYZxyz(13.0189, 8.3175, 44.0906)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB4 #A5B43E
analogous
#3E6AB4 #4D3EB4 #883EB4
triadic
#4D3EB4 #B44D3E #3EB44D
tetradic
#4D3EB4 #B43E6A #A5B43E #3EB488
square
#4D3EB4 #B43E6A #A5B43E #3EB488
split-complementary
#4D3EB4 #B4883E #6AB43E
monochromatic
#261F59 #3A2E86 #4D3EB4 #7265CA #9C93DA

Accessibility & contrast

On white

7.88
#4D3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EB4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB4#FFFFFF#000000##FFFFFF
##4D3EB41.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#165C73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3eb4;
/* rgb */ color: rgb(77, 62, 180);
/* oklch */ color: oklch(45.3% 0.179 282.4);
Tailwind
colors: {
  custom: {
    50: '#8974cb',
    500: '#4d3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb4;
$custom-light: #8974cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb4",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 247.627,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.17858,
    "h": 282.4
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#4D3EB4
secondary
#BDC589
accent
#D84FC7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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