#4A47CA#4A47CA

#4A47CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.197 H 277.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4A47CA
RGBrgb(74, 71, 202)
HSLhsl(241, 55%, 54%)
HSVhsv(241, 65%, 79%)
CMYKcmyk(63.4%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.24, 40.73, -67.67)
CIE-LCHlch(38.24, 78.99, 301.04°)
OKLaboklab(48.45% 0.0245 -0.1951)
OKLCHoklch(48.45% 0.197 277.1)
XYZxyz(15.7345, 10.2253, 57.0102)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47CA #C7CA47
analogous
#4785CA #4A47CA #8B47CA
triadic
#4A47CA #CA4A47 #47CA4A
tetradic
#4A47CA #CA4785 #C7CA47 #47CA8B
square
#4A47CA #CA4785 #C7CA47 #47CA8B
split-complementary
#4A47CA #CA8B47 #85CA47
monochromatic
#242275 #322FA4 #4A47CA #7977D8 #A7A6E5

Accessibility & contrast

On white

6.90
#4A47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A47CA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47CA#FFFFFF#000000##FFFFFF
##4A47CA1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a47ca;
/* rgb */ color: rgb(74, 71, 202);
/* oklch */ color: oklch(48.5% 0.197 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b7bdb',
    500: '#4a47ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a47ca;
$custom-light: #8b7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47ca",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 241.374,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.19661,
    "h": 277.1
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#4A47CA
secondary
#D1D29A
accent
#DF49DB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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