#4B47CA#4B47CA

#4B47CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.196 H 277.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4B47CA
RGBrgb(75, 71, 202)
HSLhsl(242, 55%, 54%)
HSVhsv(242, 65%, 79%)
CMYKcmyk(62.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.31, 40.88, -67.56)
CIE-LCHlch(38.31, 78.96, 301.18°)
OKLaboklab(48.52% 0.0257 -0.1947)
OKLCHoklch(48.52% 0.196 277.5)
XYZxyz(15.8121, 10.2653, 57.0138)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47CA #C6CA47
analogous
#4784CA #4B47CA #8C47CA
triadic
#4B47CA #CA4B47 #47CA4B
tetradic
#4B47CA #CA4784 #C6CA47 #47CA8C
square
#4B47CA #CA4784 #C6CA47 #47CA8C
split-complementary
#4B47CA #CA8C47 #84CA47
monochromatic
#242275 #332FA4 #4B47CA #7977D8 #A8A6E5

Accessibility & contrast

On white

6.88
#4B47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B47CA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47CA#FFFFFF#000000##FFFFFF
##4B47CA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b47ca;
/* rgb */ color: rgb(75, 71, 202);
/* oklch */ color: oklch(48.5% 0.196 277.5);
Tailwind
colors: {
  custom: {
    50: '#8b7bdb',
    500: '#4b47ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b47ca;
$custom-light: #8b7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47ca",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 241.832,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.1964,
    "h": 277.5
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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