#4D3EB8#4D3EB8

#4D3EB8 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.184 H 281.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4D3EB8
RGBrgb(77, 62, 184)
HSLhsl(247, 50%, 48%)
HSVhsv(247, 66%, 72%)
CMYKcmyk(58.2%, 66.3%, 0%, 27.8%)
CIE-LABlab(34.97, 40.75, -62.48)
CIE-LCHlch(34.97, 74.60, 303.11°)
OKLaboklab(45.67% 0.0378 -0.1798)
OKLCHoklch(45.67% 0.184 281.9)
XYZxyz(13.4322, 8.4828, 46.2676)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EB8 #A9B83E
analogous
#3E6CB8 #4D3EB8 #8A3EB8
triadic
#4D3EB8 #B84D3E #3EB84D
tetradic
#4D3EB8 #B83E6C #A9B83E #3EB88A
square
#4D3EB8 #B83E6C #A9B83E #3EB88A
split-complementary
#4D3EB8 #B88A3E #6CB83E
monochromatic
#271F5C #3A2F8A #4D3EB8 #7467CC #9E95DB

Accessibility & contrast

On white

7.79
#4D3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4D3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EB8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EB8#FFFFFF#000000##FFFFFF
##4D3EB81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#0C5D75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d3eb8;
/* rgb */ color: rgb(77, 62, 184);
/* oklch */ color: oklch(45.7% 0.184 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a74ce',
    500: '#4d3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eb8;
$custom-light: #8a74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eb8",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 247.377,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.18372,
    "h": 281.9
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#4D3EB8
secondary
#BFC78B
accent
#D94FC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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