#4752C5#4752C5

#4752C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.177 H 273.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4752C5
RGBrgb(71, 82, 197)
HSLhsl(235, 52%, 53%)
HSVhsv(235, 64%, 77%)
CMYKcmyk(64%, 58.4%, 0%, 22.7%)
CIE-LABlab(40.25, 31.82, -61.50)
CIE-LCHlch(40.25, 69.25, 297.35°)
OKLaboklab(49.75% 0.012 -0.177)
OKLCHoklch(49.75% 0.177 273.9)
XYZxyz(15.6905, 11.4041, 54.1868)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C5 #C5BA47
analogous
#4791C5 #4752C5 #7B47C5
triadic
#4752C5 #C54752 #52C547
tetradic
#4752C5 #C54791 #C5BA47 #47C57B
square
#4752C5 #C54791 #C5BA47 #47C57B
split-complementary
#4752C5 #C57B47 #91C547
monochromatic
#232A6F #323B9D #4752C5 #767ED4 #A4AAE2

Accessibility & contrast

On white

6.40
#4752C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4752C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C5#FFFFFF#000000##FFFFFF
##4752C51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4752c5;
/* rgb */ color: rgb(71, 82, 197);
/* oklch */ color: oklch(49.8% 0.177 273.9);
Tailwind
colors: {
  custom: {
    50: '#8882d7',
    500: '#4752c5',
    950: '#000000',
  },
}
SCSS
$custom: #4752c5;
$custom-light: #8882d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c5",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 234.762,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.17738,
    "h": 273.9
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#4752C5
secondary
#CFCA99
accent
#CF4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4752C5

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

Preview Lab → · Contrast checker → · Palette generator →

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