#4D47BE#4D47BE

#4D47BE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.180 H 279.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D47BE
RGBrgb(77, 71, 190)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 63%, 75%)
CMYKcmyk(59.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.48, 37.28, -61.91)
CIE-LCHlch(37.48, 72.27, 301.05°)
OKLaboklab(47.65% 0.0292 -0.1781)
OKLCHoklch(47.65% 0.18 279.3)
XYZxyz(14.6051, 9.8009, 49.8273)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47BE #B8BE47
analogous
#477CBE #4D47BE #8847BE
triadic
#4D47BE #BE4D47 #47BE4D
tetradic
#4D47BE #BE477C #B8BE47 #47BE88
square
#4D47BE #BE477C #B8BE47 #47BE88
split-complementary
#4D47BE #BE8847 #7CBE47
monochromatic
#282466 #393494 #4D47BE #7974CE #A4A1DE

Accessibility & contrast

On white

7.09
#4D47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D47BE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47BE#FFFFFF#000000##FFFFFF
##4D47BE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d47be;
/* rgb */ color: rgb(77, 71, 190);
/* oklch */ color: oklch(47.6% 0.180 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a7bd2',
    500: '#4d47be',
    950: '#000000',
  },
}
SCSS
$custom: #4d47be;
$custom-light: #8a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47be",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 243.025,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.18045,
    "h": 279.3
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#4D47BE
secondary
#C8CB96
accent
#D750D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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