#4D47DB#4D47DB

#4D47DB is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.217 H 276.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4D47DB
RGBrgb(77, 71, 219)
HSLhsl(242, 67%, 57%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(64.8%, 67.6%, 0%, 14.1%)
CIE-LABlab(39.91, 46.65, -74.73)
CIE-LCHlch(39.91, 88.10, 301.97°)
OKLaboklab(50.16% 0.0262 -0.2157)
OKLCHoklch(50.16% 0.217 276.9)
XYZxyz(18.0958, 11.1972, 68.2118)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47DB #D5DB47
analogous
#478BDB #4D47DB #9747DB
triadic
#4D47DB #DB4D47 #47DB4D
tetradic
#4D47DB #DB478B #D5DB47 #47DB97
square
#4D47DB #DB478B #D5DB47 #47DB97
split-complementary
#4D47DB #DB9747 #8BDB47
monochromatic
#201B8C #2C25BF #4D47DB #7F7AE5 #B0ADEF

Accessibility & contrast

On white

6.48
#4D47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47DB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47DB#FFFFFF#000000##FFFFFF
##4D47DB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d47db;
/* rgb */ color: rgb(77, 71, 219);
/* oklch */ color: oklch(50.2% 0.217 276.9);
Tailwind
colors: {
  custom: {
    50: '#8f7be7',
    500: '#4d47db',
    950: '#000000',
  },
}
SCSS
$custom: #4d47db;
$custom-light: #8f7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47db",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 242.432,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.21728,
    "h": 276.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#4D47DB
secondary
#DBDDA1
accent
#EA3EE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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