#4D3AB8#4D3AB8

#4D3AB8 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.188 H 282.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4D3AB8
RGBrgb(77, 58, 184)
HSLhsl(249, 52%, 47%)
HSVhsv(249, 68%, 72%)
CMYKcmyk(58.2%, 68.5%, 0%, 27.8%)
CIE-LABlab(34.12, 43.06, -63.88)
CIE-LCHlch(34.12, 77.04, 303.99°)
OKLaboklab(45.05% 0.0412 -0.1839)
OKLCHoklch(45.05% 0.188 282.6)
XYZxyz(13.2227, 8.0637, 46.1978)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AB8 #A5B83A
analogous
#3A66B8 #4D3AB8 #8C3AB8
triadic
#4D3AB8 #B84D3A #3AB84D
tetradic
#4D3AB8 #B83A66 #A5B83A #3AB88C
square
#4D3AB8 #B83A66 #A5B83A #3AB88C
split-complementary
#4D3AB8 #B88C3A #66B83A
monochromatic
#261D5B #3A2B89 #4D3AB8 #7262CD #9C90DC

Accessibility & contrast

On white

8.04
#4D3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3AB8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3AB8#FFFFFF#000000##FFFFFF
##4D3AB81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#0E5B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3ab8;
/* rgb */ color: rgb(77, 58, 184);
/* oklch */ color: oklch(45.1% 0.188 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a72ce',
    500: '#4d3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ab8;
$custom-light: #8a72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ab8",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 249.048,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.18846,
    "h": 282.6
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#4D3AB8
secondary
#BDC787
accent
#DC4CC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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