#4A47DB#4A47DB

#4A47DB is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.218 H 275.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4A47DB
RGBrgb(74, 71, 219)
HSLhsl(241, 67%, 57%)
HSVhsv(241, 68%, 86%)
CMYKcmyk(66.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(39.71, 46.27, -75.08)
CIE-LCHlch(39.71, 88.19, 301.64°)
OKLaboklab(49.96% 0.0226 -0.2168)
OKLCHoklch(49.96% 0.218 275.9)
XYZxyz(17.8593, 11.0752, 68.2007)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47DB #D8DB47
analogous
#478EDB #4A47DB #9447DB
triadic
#4A47DB #DB4A47 #47DB4A
tetradic
#4A47DB #DB478E #D8DB47 #47DB94
square
#4A47DB #DB478E #D8DB47 #47DB94
split-complementary
#4A47DB #DB9447 #8EDB47
monochromatic
#1E1B8C #2925BF #4A47DB #7C7AE5 #AFADEF

Accessibility & contrast

On white

6.53
#4A47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4A47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A47DB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47DB#FFFFFF#000000##FFFFFF
##4A47DB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a47db;
/* rgb */ color: rgb(74, 71, 219);
/* oklch */ color: oklch(50.0% 0.218 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e7be7',
    500: '#4a47db',
    950: '#000000',
  },
}
SCSS
$custom: #4a47db;
$custom-light: #8e7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47db",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 241.216,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.21794,
    "h": 275.9
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#4A47DB
secondary
#DCDDA1
accent
#EA3EE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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