#4752C2#4752C2

#4752C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.173 H 274.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4752C2
RGBrgb(71, 82, 194)
HSLhsl(235, 50%, 52%)
HSVhsv(235, 63%, 76%)
CMYKcmyk(63.4%, 57.7%, 0%, 23.9%)
CIE-LABlab(40.03, 30.79, -60.13)
CIE-LCHlch(40.03, 67.55, 297.12°)
OKLaboklab(49.51% 0.012 -0.1729)
OKLCHoklch(49.51% 0.173 274)
XYZxyz(15.3502, 11.2679, 52.3945)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C2 #C2B747
analogous
#4790C2 #4752C2 #7A47C2
triadic
#4752C2 #C24752 #52C247
tetradic
#4752C2 #C24790 #C2B747 #47C27A
square
#4752C2 #C24790 #C2B747 #47C27A
split-complementary
#4752C2 #C27A47 #90C247
monochromatic
#242A6B #333C99 #4752C2 #757DD1 #A3A8E0

Accessibility & contrast

On white

6.45
#4752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4752C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C2#FFFFFF#000000##FFFFFF
##4752C21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4752c2;
/* rgb */ color: rgb(71, 82, 194);
/* oklch */ color: oklch(49.5% 0.173 274.0);
Tailwind
colors: {
  custom: {
    50: '#8782d5',
    500: '#4752c2',
    950: '#000000',
  },
}
SCSS
$custom: #4752c2;
$custom-light: #8782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c2",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 234.634,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.17333,
    "h": 274
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#4752C2
secondary
#CDC997
accent
#CD4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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