#4752D7#4752D7

#4752D7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.2% C 0.201 H 273.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4752D7
RGBrgb(71, 82, 215)
HSLhsl(235, 64%, 56%)
HSVhsv(235, 67%, 84%)
CMYKcmyk(67%, 61.9%, 0%, 15.7%)
CIE-LABlab(41.66, 37.96, -69.60)
CIE-LCHlch(41.66, 79.28, 298.61°)
OKLaboklab(51.23% 0.0116 -0.2008)
OKLCHoklch(51.23% 0.201 273.3)
XYZxyz(17.8775, 12.2788, 65.7047)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752D7 #D7CC47
analogous
#479AD7 #4752D7 #8447D7
triadic
#4752D7 #D74752 #52D747
tetradic
#4752D7 #D7479A #D7CC47 #47D784
square
#4752D7 #D7479A #D7CC47 #47D784
split-complementary
#4752D7 #D78447 #9AD747
monochromatic
#1D2586 #2833B9 #4752D7 #7981E2 #ACB1ED

Accessibility & contrast

On white

6.08
#4752D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4752D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752D7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752D7#FFFFFF#000000##FFFFFF
##4752D71.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4752d7;
/* rgb */ color: rgb(71, 82, 215);
/* oklch */ color: oklch(51.2% 0.201 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b82e4',
    500: '#4752d7',
    950: '#000000',
  },
}
SCSS
$custom: #4752d7;
$custom-light: #8b82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4752d7",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 235.417,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.20108,
    "h": 273.3
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#4752D7
secondary
#DBD69F
accent
#DB41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4752D7

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

Preview Lab → · Contrast checker → · Palette generator →

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