#4D47B2#4D47B2

#4D47B2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.164 H 280.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4D47B2
RGBrgb(77, 71, 178)
HSLhsl(243, 43%, 49%)
HSVhsv(243, 60%, 70%)
CMYKcmyk(56.7%, 60.1%, 0%, 30.2%)
CIE-LABlab(36.55, 33.37, -56.36)
CIE-LCHlch(36.55, 65.50, 300.63°)
OKLaboklab(46.67% 0.0298 -0.1618)
OKLCHoklch(46.67% 0.164 280.4)
XYZxyz(13.3472, 9.2977, 43.2022)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47B2 #ACB247
analogous
#4777B2 #4D47B2 #8347B2
triadic
#4D47B2 #B24D47 #47B24D
tetradic
#4D47B2 #B24777 #ACB247 #47B283
square
#4D47B2 #B24777 #ACB247 #47B283
split-complementary
#4D47B2 #B28347 #77B247
monochromatic
#27245B #3A3686 #4D47B2 #7570C6 #9F9CD7

Accessibility & contrast

On white

7.34
#4D47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4D47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D47B2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47B2#FFFFFF#000000##FFFFFF
##4D47B21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#176175
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d47b2;
/* rgb */ color: rgb(77, 71, 178);
/* oklch */ color: oklch(46.7% 0.164 280.4);
Tailwind
colors: {
  custom: {
    50: '#887aca',
    500: '#4d47b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d47b2;
$custom-light: #887aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47b2",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 243.364,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.16447,
    "h": 280.4
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#4D47B2
secondary
#C1C491
accent
#D355CC
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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