#4D3FB5#4D3FB5

#4D3FB5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.179 H 282.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4D3FB5
RGBrgb(77, 63, 181)
HSLhsl(247, 48%, 48%)
HSVhsv(247, 65%, 71%)
CMYKcmyk(57.5%, 65.2%, 0%, 29%)
CIE-LABlab(34.94, 39.21, -60.76)
CIE-LCHlch(34.94, 72.31, 302.83°)
OKLaboklab(45.57% 0.0372 -0.1747)
OKLCHoklch(45.57% 0.179 282)
XYZxyz(13.1760, 8.4681, 44.6473)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FB5 #A7B53F
analogous
#3F6CB5 #4D3FB5 #883FB5
triadic
#4D3FB5 #B54D3F #3FB54D
tetradic
#4D3FB5 #B53F6C #A7B53F #3FB588
square
#4D3FB5 #B53F6C #A7B53F #3FB588
split-complementary
#4D3FB5 #B5883F #6CB53F
monochromatic
#261F5A #3A2F88 #4D3FB5 #7367CA #9D94DA

Accessibility & contrast

On white

7.80
#4D3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FB5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FB5#FFFFFF#000000##FFFFFF
##4D3FB51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#145D74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3fb5;
/* rgb */ color: rgb(77, 63, 181);
/* oklch */ color: oklch(45.6% 0.179 282.0);
Tailwind
colors: {
  custom: {
    50: '#8975cc',
    500: '#4d3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fb5;
$custom-light: #8975cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fb5",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 247.119,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.17864,
    "h": 282
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#4D3FB5
secondary
#BEC58A
accent
#D850C8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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