#4D3BBB#4D3BBB

#4D3BBB is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.5% C 0.191 H 282.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4D3BBB
RGBrgb(77, 59, 187)
HSLhsl(248, 52%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(58.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(34.59, 43.42, -64.88)
CIE-LCHlch(34.59, 78.07, 303.79°)
OKLaboklab(45.47% 0.0399 -0.1868)
OKLCHoklch(45.47% 0.191 282.1)
XYZxyz(13.5914, 8.2927, 47.8885)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3BBB #A9BB3B
analogous
#3B69BB #4D3BBB #8D3BBB
triadic
#4D3BBB #BB4D3B #3BBB4D
tetradic
#4D3BBB #BB3B69 #A9BB3B #3BBB8D
square
#4D3BBB #BB3B69 #A9BB3B #3BBB8D
split-complementary
#4D3BBB #BB8D3B #69BB3B
monochromatic
#271E5E #3A2C8C #4D3BBB #7465CE #9E93DD

Accessibility & contrast

On white

7.90
#4D3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3BBB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3BBB#FFFFFF#000000##FFFFFF
##4D3BBB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#035C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3bbb;
/* rgb */ color: rgb(77, 59, 187);
/* oklch */ color: oklch(45.5% 0.191 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b72d1',
    500: '#4d3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3bbb;
$custom-light: #8b72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3bbb",
  "rgb": {
    "r": 77,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 248.438,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.19104,
    "h": 282.1
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#4D3BBB
secondary
#BFC88A
accent
#DB4CC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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