#4752E4#4752E4

#4752E4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.3% C 0.218 H 272.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4752E4
RGBrgb(71, 82, 228)
HSLhsl(236, 74%, 59%)
HSVhsv(236, 69%, 89%)
CMYKcmyk(68.9%, 64%, 0%, 10.6%)
CIE-LABlab(42.72, 42.35, -75.27)
CIE-LCHlch(42.72, 86.37, 299.37°)
OKLaboklab(52.34% 0.0109 -0.2174)
OKLCHoklch(52.34% 0.218 272.9)
XYZxyz(19.6147, 12.9737, 74.8542)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752E4 #E4D947
analogous
#47A0E4 #4752E4 #8A47E4
triadic
#4752E4 #E44752 #52E447
tetradic
#4752E4 #E447A0 #E4D947 #47E48A
square
#4752E4 #E447A0 #E4D947 #47E48A
split-complementary
#4752E4 #E48A47 #A0E447
monochromatic
#17209A #1E2BCF #4752E4 #7C84EC #B2B6F4

Accessibility & contrast

On white

5.84
#4752E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4752E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752E4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752E4#FFFFFF#000000##FFFFFF
##4752E41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4752e4;
/* rgb */ color: rgb(71, 82, 228);
/* oklch */ color: oklch(52.3% 0.218 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e83ee',
    500: '#4752e4',
    950: '#000000',
  },
}
SCSS
$custom: #4752e4;
$custom-light: #8e83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4752e4",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 235.796,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.21764,
    "h": 272.9
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#4752E4
secondary
#E2DEA4
accent
#E437F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4752E4

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

Preview Lab → · Contrast checker → · Palette generator →

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