#4D3FB9#4D3FB9

#4D3FB9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.184 H 281.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4D3FB9
RGBrgb(77, 63, 185)
HSLhsl(247, 49%, 49%)
HSVhsv(247, 66%, 73%)
CMYKcmyk(58.4%, 65.9%, 0%, 27.5%)
CIE-LABlab(35.27, 40.47, -62.58)
CIE-LCHlch(35.27, 74.53, 302.89°)
OKLaboklab(45.91% 0.0368 -0.1801)
OKLCHoklch(45.91% 0.184 281.5)
XYZxyz(13.5923, 8.6347, 46.8399)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FB9 #ABB93F
analogous
#3F6EB9 #4D3FB9 #8A3FB9
triadic
#4D3FB9 #B94D3F #3FB94D
tetradic
#4D3FB9 #B93F6E #ABB93F #3FB98A
square
#4D3FB9 #B93F6E #ABB93F #3FB98A
split-complementary
#4D3FB9 #B98A3F #6EB93F
monochromatic
#27205E #3A2F8B #4D3FB9 #7569CC #9F97DC

Accessibility & contrast

On white

7.70
#4D3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4D3FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FB9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FB9#FFFFFF#000000##FFFFFF
##4D3FB91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#095E76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d3fb9;
/* rgb */ color: rgb(77, 63, 185);
/* oklch */ color: oklch(45.9% 0.184 281.5);
Tailwind
colors: {
  custom: {
    50: '#8a75cf',
    500: '#4d3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fb9;
$custom-light: #8a75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fb9",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 246.885,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.18379,
    "h": 281.5
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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