#4D3EBA#4D3EBA

#4D3EBA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.186 H 281.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4D3EBA
RGBrgb(77, 62, 186)
HSLhsl(247, 50%, 49%)
HSVhsv(247, 67%, 73%)
CMYKcmyk(58.6%, 66.7%, 0%, 27.1%)
CIE-LABlab(35.14, 41.38, -63.39)
CIE-LCHlch(35.14, 75.70, 303.13°)
OKLaboklab(45.84% 0.0375 -0.1824)
OKLCHoklch(45.84% 0.186 281.6)
XYZxyz(13.6434, 8.5673, 47.3796)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EBA #ABBA3E
analogous
#3E6DBA #4D3EBA #8B3EBA
triadic
#4D3EBA #BA4D3E #3EBA4D
tetradic
#4D3EBA #BA3E6D #ABBA3E #3EBA8B
square
#4D3EBA #BA3E6D #ABBA3E #3EBA8B
split-complementary
#4D3EBA #BA8B3E #6DBA3E
monochromatic
#271F5E #3A2F8C #4D3EBA #7568CD #9F96DC

Accessibility & contrast

On white

7.74
#4D3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4D3EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EBA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EBA#FFFFFF#000000##FFFFFF
##4D3EBA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#065E77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d3eba;
/* rgb */ color: rgb(77, 62, 186);
/* oklch */ color: oklch(45.8% 0.186 281.6);
Tailwind
colors: {
  custom: {
    50: '#8a74d0',
    500: '#4d3eba',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eba;
$custom-light: #8a74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eba",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 247.258,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4584,
    "c": 0.18626,
    "h": 281.6
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#4D3EBA
secondary
#C0C88C
accent
#DA4EC9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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