#4D3EB5#4D3EB5

#4D3EB5 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.180 H 282.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB5
RGBrgb(77, 62, 181)
HSLhsl(248, 49%, 48%)
HSVhsv(248, 66%, 71%)
CMYKcmyk(57.5%, 65.7%, 0%, 29%)
CIE-LABlab(34.72, 39.80, -61.12)
CIE-LCHlch(34.72, 72.94, 303.07°)
OKLaboklab(45.41% 0.0381 -0.1758)
OKLCHoklch(45.41% 0.18 282.2)
XYZxyz(13.1211, 8.3584, 44.6290)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB5 #A6B53E
analogous
#3E6AB5 #4D3EB5 #883EB5
triadic
#4D3EB5 #B54D3E #3EB54D
tetradic
#4D3EB5 #B53E6A #A6B53E #3EB588
square
#4D3EB5 #B53E6A #A6B53E #3EB588
split-complementary
#4D3EB5 #B5883E #6AB53E
monochromatic
#261F5A #3A2E87 #4D3EB5 #7266CA #9C93DA

Accessibility & contrast

On white

7.86
#4D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EB5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB5#FFFFFF#000000##FFFFFF
##4D3EB51.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d3eb5;
/* rgb */ color: rgb(77, 62, 181);
/* oklch */ color: oklch(45.4% 0.180 282.2);
Tailwind
colors: {
  custom: {
    50: '#8974cc',
    500: '#4d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb5;
$custom-light: #8974cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb5",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 247.563,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.17987,
    "h": 282.2
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#4D3EB5
secondary
#BEC589
accent
#D94FC7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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