#4D3EB7#4D3EB7

#4D3EB7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.182 H 282.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB7
RGBrgb(77, 62, 183)
HSLhsl(247, 49%, 48%)
HSVhsv(247, 66%, 72%)
CMYKcmyk(57.9%, 66.1%, 0%, 28.2%)
CIE-LABlab(34.89, 40.43, -62.03)
CIE-LCHlch(34.89, 74.04, 303.10°)
OKLaboklab(45.58% 0.0379 -0.1785)
OKLCHoklch(45.58% 0.182 282)
XYZxyz(13.3278, 8.4411, 45.7175)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB7 #A8B73E
analogous
#3E6BB7 #4D3EB7 #893EB7
triadic
#4D3EB7 #B74D3E #3EB74D
tetradic
#4D3EB7 #B73E6B #A8B73E #3EB789
square
#4D3EB7 #B73E6B #A8B73E #3EB789
split-complementary
#4D3EB7 #B7893E #6BB73E
monochromatic
#271F5C #3A2F89 #4D3EB7 #7367CB #9D94DB

Accessibility & contrast

On white

7.81
#4D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EB7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB7#FFFFFF#000000##FFFFFF
##4D3EB71.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#0F5D75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3eb7;
/* rgb */ color: rgb(77, 62, 183);
/* oklch */ color: oklch(45.6% 0.182 282.0);
Tailwind
colors: {
  custom: {
    50: '#8a74ce',
    500: '#4d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb7;
$custom-light: #8a74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb7",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 247.438,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.18244,
    "h": 282
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#4D3EB7
secondary
#BFC68A
accent
#D94FC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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