#4B47EA#4B47EA

#4B47EA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.236 H 275.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4B47EA
RGBrgb(75, 71, 234)
HSLhsl(241, 80%, 60%)
HSVhsv(241, 70%, 92%)
CMYKcmyk(67.9%, 69.7%, 0%, 8.2%)
CIE-LABlab(41.12, 51.19, -81.29)
CIE-LCHlch(41.12, 96.06, 302.20°)
OKLaboklab(51.41% 0.0217 -0.2349)
OKLCHoklch(51.41% 0.236 275.3)
XYZxyz(20.0013, 11.9410, 79.0767)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B47EA #E6EA47
analogous
#4795EA #4B47EA #9C47EA
triadic
#4B47EA #EA4B47 #47EA4B
tetradic
#4B47EA #EA4795 #E6EA47 #47EA9C
square
#4B47EA #EA4795 #E6EA47 #47EA9C
split-complementary
#4B47EA #EA9C47 #95EA47
monochromatic
#1613A4 #1E19DB #4B47EA #817EF0 #B6B5F7

Accessibility & contrast

On white

6.20
#4B47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4B47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B47EA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B47EA#FFFFFF#000000##FFFFFF
##4B47EA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b47ea;
/* rgb */ color: rgb(75, 71, 234);
/* oklch */ color: oklch(51.4% 0.236 275.3);
Tailwind
colors: {
  custom: {
    50: '#917cf2',
    500: '#4b47ea',
    950: '#000000',
  },
}
SCSS
$custom: #4b47ea;
$custom-light: #917cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b47ea",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 241.472,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.2359,
    "h": 275.3
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#4B47EA
secondary
#E4E6A7
accent
#F632F1
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4B47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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