#4D3EB9#4D3EB9

#4D3EB9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.8% C 0.185 H 281.7°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB9
RGBrgb(77, 62, 185)
HSLhsl(247, 50%, 48%)
HSVhsv(247, 66%, 73%)
CMYKcmyk(58.4%, 66.5%, 0%, 27.5%)
CIE-LABlab(35.05, 41.06, -62.94)
CIE-LCHlch(35.05, 75.15, 303.12°)
OKLaboklab(45.75% 0.0377 -0.1811)
OKLCHoklch(45.75% 0.185 281.7)
XYZxyz(13.5374, 8.5249, 46.8217)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB9 #AAB93E
analogous
#3E6CB9 #4D3EB9 #8A3EB9
triadic
#4D3EB9 #B94D3E #3EB94D
tetradic
#4D3EB9 #B93E6C #AAB93E #3EB98A
square
#4D3EB9 #B93E6C #AAB93E #3EB98A
split-complementary
#4D3EB9 #B98A3E #6CB93E
monochromatic
#271F5D #3A2F8B #4D3EB9 #7468CC #9E96DC

Accessibility & contrast

On white

7.76
#4D3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3EB9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB9#FFFFFF#000000##FFFFFF
##4D3EB91.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#095D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3eb9;
/* rgb */ color: rgb(77, 62, 185);
/* oklch */ color: oklch(45.8% 0.185 281.7);
Tailwind
colors: {
  custom: {
    50: '#8a74cf',
    500: '#4d3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb9;
$custom-light: #8a74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb9",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 247.317,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.18499,
    "h": 281.7
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#4D3EB9
secondary
#C0C78C
accent
#D94EC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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