#4B47E4#4B47E4

#4B47E4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.229 H 275.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4B47E4
RGBrgb(75, 71, 228)
HSLhsl(242, 74%, 59%)
HSVhsv(242, 69%, 89%)
CMYKcmyk(67.1%, 68.9%, 0%, 10.6%)
CIE-LABlab(40.58, 49.28, -78.78)
CIE-LCHlch(40.58, 92.92, 302.03°)
OKLaboklab(50.85% 0.0226 -0.2276)
OKLCHoklch(50.85% 0.229 275.7)
XYZxyz(19.1539, 11.6020, 74.6138)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47E4 #E0E447
analogous
#4791E4 #4B47E4 #9947E4
triadic
#4B47E4 #E44B47 #47E44B
tetradic
#4B47E4 #E44791 #E0E447 #47E499
square
#4B47E4 #E44791 #E0E447 #47E499
split-complementary
#4B47E4 #E49947 #91E447
monochromatic
#1A179A #231ECF #4B47E4 #7F7CEC #B3B2F4

Accessibility & contrast

On white

6.32
#4B47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4B47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47E4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47E4#FFFFFF#000000##FFFFFF
##4B47E41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b47e4;
/* rgb */ color: rgb(75, 71, 228);
/* oklch */ color: oklch(50.8% 0.229 275.7);
Tailwind
colors: {
  custom: {
    50: '#907bee',
    500: '#4b47e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b47e4;
$custom-light: #907bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47e4",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 241.529,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50848,
    "c": 0.22869,
    "h": 275.7
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#4B47E4
secondary
#E1E2A4
accent
#F137EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4B47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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