#4D3CB4#4D3CB4

#4D3CB4 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.181 H 282.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4D3CB4
RGBrgb(77, 60, 180)
HSLhsl(249, 50%, 47%)
HSVhsv(249, 67%, 71%)
CMYKcmyk(57.2%, 66.7%, 0%, 29.4%)
CIE-LABlab(34.20, 40.66, -61.38)
CIE-LCHlch(34.20, 73.62, 303.52°)
OKLaboklab(45.01% 0.0401 -0.1765)
OKLCHoklch(45.01% 0.181 282.8)
XYZxyz(12.9121, 8.1040, 44.0550)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CB4 #A3B43C
analogous
#3C67B4 #4D3CB4 #893CB4
triadic
#4D3CB4 #B44D3C #3CB44D
tetradic
#4D3CB4 #B43C67 #A3B43C #3CB489
square
#4D3CB4 #B43C67 #A3B43C #3CB489
split-complementary
#4D3CB4 #B4893C #67B43C
monochromatic
#261D58 #392D86 #4D3CB4 #7162CB #9B90DA

Accessibility & contrast

On white

8.01
#4D3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D3CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CB4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CB4#FFFFFF#000000##FFFFFF
##4D3CB41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#165B73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3cb4;
/* rgb */ color: rgb(77, 60, 180);
/* oklch */ color: oklch(45.0% 0.181 282.8);
Tailwind
colors: {
  custom: {
    50: '#8973cb',
    500: '#4d3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cb4;
$custom-light: #8973cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cb4",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 248.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.18103,
    "h": 282.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#4D3CB4
secondary
#BCC587
accent
#DA4EC6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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