#4752E6#4752E6

#4752E6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.220 H 272.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4752E6
RGBrgb(71, 82, 230)
HSLhsl(236, 76%, 59%)
HSVhsv(236, 69%, 90%)
CMYKcmyk(69.1%, 64.3%, 0%, 9.8%)
CIE-LABlab(42.89, 43.03, -76.13)
CIE-LCHlch(42.89, 87.44, 299.47°)
OKLaboklab(52.52% 0.0107 -0.2199)
OKLCHoklch(52.52% 0.22 272.8)
XYZxyz(19.8940, 13.0854, 76.3249)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752E6 #E6DB47
analogous
#47A2E6 #4752E6 #8C47E6
triadic
#4752E6 #E64752 #52E647
tetradic
#4752E6 #E647A2 #E6DB47 #47E68C
square
#4752E6 #E647A2 #E6DB47 #47E68C
split-complementary
#4752E6 #E68C47 #A2E647
monochromatic
#151F9D #1D29D3 #4752E6 #7D85ED #B3B7F5

Accessibility & contrast

On white

5.81
#4752E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4752E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752E6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752E6#FFFFFF#000000##FFFFFF
##4752E61.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4752e6;
/* rgb */ color: rgb(71, 82, 230);
/* oklch */ color: oklch(52.5% 0.220 272.8);
Tailwind
colors: {
  custom: {
    50: '#8e83ef',
    500: '#4752e6',
    950: '#000000',
  },
}
SCSS
$custom: #4752e6;
$custom-light: #8e83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4752e6",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 235.849,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.22014,
    "h": 272.8
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#4752E6
secondary
#E4DFA5
accent
#E635F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4752E6

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

Preview Lab → · Contrast checker → · Palette generator →

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