#4752EA#4752EA

#4752EA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.225 H 272.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4752EA
RGBrgb(71, 82, 234)
HSLhsl(236, 80%, 60%)
HSVhsv(236, 70%, 92%)
CMYKcmyk(69.7%, 65%, 0%, 8.2%)
CIE-LABlab(43.23, 44.36, -77.83)
CIE-LCHlch(43.23, 89.59, 299.68°)
OKLaboklab(52.87% 0.0104 -0.2249)
OKLCHoklch(52.87% 0.225 272.6)
XYZxyz(20.4621, 13.3127, 79.3172)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752EA #EADF47
analogous
#47A3EA #4752EA #8E47EA
triadic
#4752EA #EA4752 #52EA47
tetradic
#4752EA #EA47A3 #EADF47 #47EA8E
square
#4752EA #EA47A3 #EADF47 #47EA8E
split-complementary
#4752EA #EA8E47 #A3EA47
monochromatic
#131DA4 #1926DB #4752EA #7E86F0 #B5B9F7

Accessibility & contrast

On white

5.73
#4752EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4752EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752EA#FFFFFF#000000##FFFFFF
##4752EA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#005FE7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4752ea;
/* rgb */ color: rgb(71, 82, 234);
/* oklch */ color: oklch(52.9% 0.225 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f83f2',
    500: '#4752ea',
    950: '#000000',
  },
}
SCSS
$custom: #4752ea;
$custom-light: #8f83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4752ea",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 235.951,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.22512,
    "h": 272.6
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#4752EA
secondary
#E6E2A7
accent
#E932F6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4752EA

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

Preview Lab → · Contrast checker → · Palette generator →

#4752EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva