#4B47CB#4B47CB

#4B47CB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.198 H 277.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4B47CB
RGBrgb(75, 71, 203)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(63.1%, 65%, 0%, 20.4%)
CIE-LABlab(38.40, 41.20, -68.00)
CIE-LCHlch(38.40, 79.51, 301.21°)
OKLaboklab(48.61% 0.0256 -0.196)
OKLCHoklch(48.61% 0.198 277.4)
XYZxyz(15.9309, 10.3128, 57.6394)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47CB #C7CB47
analogous
#4785CB #4B47CB #8D47CB
triadic
#4B47CB #CB4B47 #47CB4B
tetradic
#4B47CB #CB4785 #C7CB47 #47CB8D
square
#4B47CB #CB4785 #C7CB47 #47CB8D
split-complementary
#4B47CB #CB8D47 #85CB47
monochromatic
#242176 #322FA6 #4B47CB #7A77D8 #A8A6E6

Accessibility & contrast

On white

6.86
#4B47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4B47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47CB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47CB#FFFFFF#000000##FFFFFF
##4B47CB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b47cb;
/* rgb */ color: rgb(75, 71, 203);
/* oklch */ color: oklch(48.6% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b7bdc',
    500: '#4b47cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b47cb;
$custom-light: #8b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47cb",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 241.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.19767,
    "h": 277.4
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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