#4D47F0#4D47F0

#4D47F0 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.1% C 0.243 H 275.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4D47F0
RGBrgb(77, 71, 240)
HSLhsl(242, 85%, 61%)
HSVhsv(242, 70%, 94%)
CMYKcmyk(67.9%, 70.4%, 0%, 5.9%)
CIE-LABlab(41.80, 53.29, -83.55)
CIE-LCHlch(41.80, 99.10, 302.53°)
OKLaboklab(52.09% 0.0231 -0.2415)
OKLCHoklch(52.09% 0.243 275.5)
XYZxyz(21.0368, 12.3736, 83.7009)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47F0 #EAF047
analogous
#4795F0 #4D47F0 #A147F0
triadic
#4D47F0 #F04D47 #47F04D
tetradic
#4D47F0 #F04795 #EAF047 #47F0A1
square
#4D47F0 #F04795 #EAF047 #47F0A1
split-complementary
#4D47F0 #F0A147 #95F047
monochromatic
#140EAE #1A13E7 #4D47F0 #8480F5 #BAB8F9

Accessibility & contrast

On white

6.04
#4D47F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4D47F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47F0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47F0#FFFFFF#000000##FFFFFF
##4D47F01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF5
Deuteranopia (green-blind)
#005BED
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d47f0;
/* rgb */ color: rgb(77, 71, 240);
/* oklch */ color: oklch(52.1% 0.243 275.5);
Tailwind
colors: {
  custom: {
    50: '#937cf6',
    500: '#4d47f0',
    950: '#000000',
  },
}
SCSS
$custom: #4d47f0;
$custom-light: #937cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47f0",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 242.13,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.24257,
    "h": 275.5
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#4D47F0
secondary
#E7E9AA
accent
#E104DA
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4D47F0

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

Preview Lab → · Contrast checker → · Palette generator →

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