#4752C3#4752C3

#4752C3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.175 H 273.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4752C3
RGBrgb(71, 82, 195)
HSLhsl(235, 51%, 52%)
HSVhsv(235, 64%, 76%)
CMYKcmyk(63.6%, 57.9%, 0%, 23.5%)
CIE-LABlab(40.10, 31.13, -60.59)
CIE-LCHlch(40.10, 68.12, 297.20°)
OKLaboklab(49.59% 0.012 -0.1743)
OKLCHoklch(49.59% 0.175 273.9)
XYZxyz(15.4629, 11.3130, 52.9879)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C3 #C3B847
analogous
#4790C3 #4752C3 #7A47C3
triadic
#4752C3 #C34752 #52C347
tetradic
#4752C3 #C34790 #C3B847 #47C37A
square
#4752C3 #C34790 #C3B847 #47C37A
split-complementary
#4752C3 #C37A47 #90C347
monochromatic
#232A6C #323C9A #4752C3 #757DD2 #A3A9E1

Accessibility & contrast

On white

6.44
#4752C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4752C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C3#FFFFFF#000000##FFFFFF
##4752C31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4752c3;
/* rgb */ color: rgb(71, 82, 195);
/* oklch */ color: oklch(49.6% 0.175 273.9);
Tailwind
colors: {
  custom: {
    50: '#8782d6',
    500: '#4752c3',
    950: '#000000',
  },
}
SCSS
$custom: #4752c3;
$custom-light: #8782d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c3",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 234.677,
    "s": 50.82,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49593,
    "c": 0.17468,
    "h": 273.9
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#4752C3
secondary
#CEC998
accent
#CE4DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4752C3

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

Preview Lab → · Contrast checker → · Palette generator →

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