#4D3ABB#4D3ABB

#4D3ABB is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.192 H 282.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4D3ABB
RGBrgb(77, 58, 187)
HSLhsl(249, 53%, 48%)
HSVhsv(249, 69%, 73%)
CMYKcmyk(58.8%, 69%, 0%, 26.7%)
CIE-LABlab(34.38, 43.99, -65.22)
CIE-LCHlch(34.38, 78.67, 304.00°)
OKLaboklab(45.32% 0.0408 -0.1878)
OKLCHoklch(45.32% 0.192 282.2)
XYZxyz(13.5405, 8.1908, 47.8715)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ABB #A8BB3A
analogous
#3A68BB #4D3ABB #8D3ABB
triadic
#4D3ABB #BB4D3A #3ABB4D
tetradic
#4D3ABB #BB3A68 #A8BB3A #3ABB8D
square
#4D3ABB #BB3A68 #A8BB3A #3ABB8D
split-complementary
#4D3ABB #BB8D3A #68BB3A
monochromatic
#271D5E #3A2C8C #4D3ABB #7363CF #9D92DD

Accessibility & contrast

On white

7.96
#4D3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ABB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ABB#FFFFFF#000000##FFFFFF
##4D3ABB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#045C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3abb;
/* rgb */ color: rgb(77, 58, 187);
/* oklch */ color: oklch(45.3% 0.192 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b72d1',
    500: '#4d3abb',
    950: '#000000',
  },
}
SCSS
$custom: #4d3abb;
$custom-light: #8b72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3abb",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 248.837,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.19219,
    "h": 282.2
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#4D3ABB
secondary
#BFC888
accent
#DC4CC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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