#4752C1#4752C1

#4752C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.172 H 274.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4752C1
RGBrgb(71, 82, 193)
HSLhsl(235, 50%, 52%)
HSVhsv(235, 63%, 76%)
CMYKcmyk(63.2%, 57.5%, 0%, 24.3%)
CIE-LABlab(39.95, 30.44, -59.66)
CIE-LCHlch(39.95, 66.98, 297.03°)
OKLaboklab(49.44% 0.012 -0.1715)
OKLCHoklch(49.44% 0.172 274)
XYZxyz(15.2383, 11.2232, 51.8050)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C1 #C1B647
analogous
#478FC1 #4752C1 #7947C1
triadic
#4752C1 #C14752 #52C147
tetradic
#4752C1 #C1478F #C1B647 #47C179
square
#4752C1 #C1478F #C1B647 #47C179
split-complementary
#4752C1 #C17947 #8FC147
monochromatic
#242A6A #333C98 #4752C1 #757DD0 #A3A8E0

Accessibility & contrast

On white

6.47
#4752C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4752C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C1#FFFFFF#000000##FFFFFF
##4752C11.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4752c1;
/* rgb */ color: rgb(71, 82, 193);
/* oklch */ color: oklch(49.4% 0.172 274.0);
Tailwind
colors: {
  custom: {
    50: '#8782d5',
    500: '#4752c1',
    950: '#000000',
  },
}
SCSS
$custom: #4752c1;
$custom-light: #8782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c1",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 234.59,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.17197,
    "h": 274
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#4752C1
secondary
#CDC897
accent
#CD4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4752C1

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

Preview Lab → · Contrast checker → · Palette generator →

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