#4D3AB9#4D3AB9

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

Color values

HEX#4D3AB9
RGBrgb(77, 58, 185)
HSLhsl(249, 52%, 48%)
HSVhsv(249, 69%, 73%)
CMYKcmyk(58.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(34.20, 43.37, -64.33)
CIE-LCHlch(34.20, 77.58, 303.99°)
OKLaboklab(45.14% 0.0411 -0.1852)
OKLCHoklch(45.14% 0.19 282.5)
XYZxyz(13.3279, 8.1058, 46.7518)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AB9 #A6B93A
analogous
#3A67B9 #4D3AB9 #8C3AB9
triadic
#4D3AB9 #B94D3A #3AB94D
tetradic
#4D3AB9 #B93A67 #A6B93A #3AB98C
square
#4D3AB9 #B93A67 #A6B93A #3AB98C
split-complementary
#4D3AB9 #B98C3A #67B93A
monochromatic
#261D5C #3A2B8A #4D3AB9 #7262CE #9C91DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D3AB9#FFFFFF#000000##FFFFFF
##4D3AB91.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)
#0055BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#0B5B75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3ab9;
/* rgb */ color: rgb(77, 58, 185);
/* oklch */ color: oklch(45.1% 0.190 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a72cf',
    500: '#4d3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ab9;
$custom-light: #8a72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ab9",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 248.976,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4514,
    "c": 0.1897,
    "h": 282.5
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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