#4D3FBA#4D3FBA

#4D3FBA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.185 H 281.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4D3FBA
RGBrgb(77, 63, 186)
HSLhsl(247, 49%, 49%)
HSVhsv(247, 66%, 73%)
CMYKcmyk(58.6%, 66.1%, 0%, 27.1%)
CIE-LABlab(35.35, 40.79, -63.03)
CIE-LCHlch(35.35, 75.08, 302.91°)
OKLaboklab(46% 0.0367 -0.1814)
OKLCHoklch(46% 0.185 281.4)
XYZxyz(13.6982, 8.6770, 47.3979)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FBA #ACBA3F
analogous
#3F6FBA #4D3FBA #8B3FBA
triadic
#4D3FBA #BA4D3F #3FBA4D
tetradic
#4D3FBA #BA3F6F #ACBA3F #3FBA8B
square
#4D3FBA #BA3F6F #ACBA3F #3FBA8B
split-complementary
#4D3FBA #BA8B3F #6FBA3F
monochromatic
#27205F #3A308C #4D3FBA #756ACC #9F97DC

Accessibility & contrast

On white

7.68
#4D3FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4D3FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FBA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FBA#FFFFFF#000000##FFFFFF
##4D3FBA1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d3fba;
/* rgb */ color: rgb(77, 63, 186);
/* oklch */ color: oklch(46.0% 0.185 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a75d0',
    500: '#4d3fba',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fba;
$custom-light: #8a75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fba",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 246.829,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.18507,
    "h": 281.4
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#4D3FBA
secondary
#C1C88D
accent
#D94FC9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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