#4D3CB8#4D3CB8

#4D3CB8 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.186 H 282.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4D3CB8
RGBrgb(77, 60, 184)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 67%, 72%)
CMYKcmyk(58.2%, 67.4%, 0%, 27.8%)
CIE-LABlab(34.54, 41.91, -63.19)
CIE-LCHlch(34.54, 75.83, 303.56°)
OKLaboklab(45.35% 0.0395 -0.1819)
OKLCHoklch(45.35% 0.186 282.3)
XYZxyz(13.3255, 8.2693, 46.2321)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CB8 #A7B83C
analogous
#3C69B8 #4D3CB8 #8B3CB8
triadic
#4D3CB8 #B84D3C #3CB84D
tetradic
#4D3CB8 #B83C69 #A7B83C #3CB88B
square
#4D3CB8 #B83C69 #A7B83C #3CB88B
split-complementary
#4D3CB8 #B88B3C #69B83C
monochromatic
#261E5C #3A2D8A #4D3CB8 #7365CD #9D93DC

Accessibility & contrast

On white

7.91
#4D3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3CB8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CB8#FFFFFF#000000##FFFFFF
##4D3CB81.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#0D5C75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3cb8;
/* rgb */ color: rgb(77, 60, 184);
/* oklch */ color: oklch(45.4% 0.186 282.3);
Tailwind
colors: {
  custom: {
    50: '#8a73ce',
    500: '#4d3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cb8;
$custom-light: #8a73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cb8",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 248.226,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.1861,
    "h": 282.3
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#4D3CB8
secondary
#BEC789
accent
#DA4DC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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