#4D3CBB#4D3CBB

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

Color values

HEX#4D3CBB
RGBrgb(77, 60, 187)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(58.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(34.80, 42.85, -64.54)
CIE-LCHlch(34.80, 77.47, 303.58°)
OKLaboklab(45.62% 0.0391 -0.1858)
OKLCHoklch(45.62% 0.19 281.9)
XYZxyz(13.6433, 8.3964, 47.9058)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CBB #AABB3C
analogous
#3C6BBB #4D3CBB #8C3CBB
triadic
#4D3CBB #BB4D3C #3CBB4D
tetradic
#4D3CBB #BB3C6B #AABB3C #3CBB8C
square
#4D3CBB #BB3C6B #AABB3C #3CBB8C
split-complementary
#4D3CBB #BB8C3C #6BBB3C
monochromatic
#271E5E #3A2D8D #4D3CBB #7466CE #9E95DD

Accessibility & contrast

On white

7.84
#4D3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CBB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CBB#FFFFFF#000000##FFFFFF
##4D3CBB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d3cbb;
/* rgb */ color: rgb(77, 60, 187);
/* oklch */ color: oklch(45.6% 0.190 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a73d0',
    500: '#4d3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cbb;
$custom-light: #8a73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cbb",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 248.031,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.18988,
    "h": 281.9
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#4D3CBB
secondary
#C0C88B
accent
#DB4DC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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