#4752CE#4752CE

#4752CE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.189 H 273.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4752CE
RGBrgb(71, 82, 206)
HSLhsl(235, 58%, 54%)
HSVhsv(235, 66%, 81%)
CMYKcmyk(65.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(40.94, 34.90, -65.59)
CIE-LCHlch(40.94, 74.30, 298.01°)
OKLaboklab(50.48% 0.0119 -0.189)
OKLCHoklch(50.48% 0.189 273.6)
XYZxyz(16.7527, 11.8289, 59.7809)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752CE #CEC347
analogous
#4796CE #4752CE #8047CE
triadic
#4752CE #CE4752 #52CE47
tetradic
#4752CE #CE4796 #CEC347 #47CE80
square
#4752CE #CE4796 #CEC347 #47CE80
split-complementary
#4752CE #CE8047 #96CE47
monochromatic
#21287A #2D38AA #4752CE #777FDB #A8ADE8

Accessibility & contrast

On white

6.24
#4752CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4752CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752CE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752CE#FFFFFF#000000##FFFFFF
##4752CE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4752ce;
/* rgb */ color: rgb(71, 82, 206);
/* oklch */ color: oklch(50.5% 0.189 273.6);
Tailwind
colors: {
  custom: {
    50: '#8982de',
    500: '#4752ce',
    950: '#000000',
  },
}
SCSS
$custom: #4752ce;
$custom-light: #8982de;
$custom-dark: #000000;
JSON
{
  "hex": "#4752ce",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 235.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.18935,
    "h": 273.6
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#4752CE
secondary
#D5D09C
accent
#D547E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752CE

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

Preview Lab → · Contrast checker → · Palette generator →

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