#4D3FBB#4D3FBB

#4D3FBB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.186 H 281.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4D3FBB
RGBrgb(77, 63, 187)
HSLhsl(247, 50%, 49%)
HSVhsv(247, 66%, 73%)
CMYKcmyk(58.8%, 66.3%, 0%, 26.7%)
CIE-LABlab(35.44, 41.11, -63.48)
CIE-LCHlch(35.44, 75.63, 302.92°)
OKLaboklab(46.08% 0.0365 -0.1827)
OKLCHoklch(46.08% 0.186 281.3)
XYZxyz(13.8049, 8.7197, 47.9597)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FBB #ADBB3F
analogous
#3F6FBB #4D3FBB #8B3FBB
triadic
#4D3FBB #BB4D3F #3FBB4D
tetradic
#4D3FBB #BB3F6F #ADBB3F #3FBB8B
square
#4D3FBB #BB3F6F #ADBB3F #3FBB8B
split-complementary
#4D3FBB #BB8B3F #6FBB3F
monochromatic
#27205F #3A308D #4D3FBB #756ACD #A098DC

Accessibility & contrast

On white

7.65
#4D3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3FBB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FBB#FFFFFF#000000##FFFFFF
##4D3FBB1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#025F77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d3fbb;
/* rgb */ color: rgb(77, 63, 187);
/* oklch */ color: oklch(46.1% 0.186 281.3);
Tailwind
colors: {
  custom: {
    50: '#8a75d0',
    500: '#4d3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fbb;
$custom-light: #8a75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fbb",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 246.774,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.18635,
    "h": 281.3
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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