#4D3EB2#4D3EB2

#4D3EB2 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.176 H 282.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB2
RGBrgb(77, 62, 178)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(56.7%, 65.2%, 0%, 30.2%)
CIE-LABlab(34.47, 38.85, -59.74)
CIE-LCHlch(34.47, 71.27, 303.04°)
OKLaboklab(45.15% 0.0385 -0.1718)
OKLCHoklch(45.15% 0.176 282.6)
XYZxyz(12.8166, 8.2366, 43.0253)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB2 #A3B23E
analogous
#3E69B2 #4D3EB2 #873EB2
triadic
#4D3EB2 #B24D3E #3EB24D
tetradic
#4D3EB2 #B23E69 #A3B23E #3EB287
square
#4D3EB2 #B23E69 #A3B23E #3EB287
split-complementary
#4D3EB2 #B2873E #69B23E
monochromatic
#261E57 #392E85 #4D3EB2 #7164C9 #9B92D9

Accessibility & contrast

On white

7.93
#4D3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4D3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EB2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB2#FFFFFF#000000##FFFFFF
##4D3EB21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#195B72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3eb2;
/* rgb */ color: rgb(77, 62, 178);
/* oklch */ color: oklch(45.1% 0.176 282.6);
Tailwind
colors: {
  custom: {
    50: '#8974ca',
    500: '#4d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb2;
$custom-light: #8974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb2",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 247.759,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.17601,
    "h": 282.6
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#4D3EB2
secondary
#BCC488
accent
#D850C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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