#4752D4#4752D4

#4752D4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.197 H 273.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4752D4
RGBrgb(71, 82, 212)
HSLhsl(235, 62%, 55%)
HSVhsv(235, 67%, 83%)
CMYKcmyk(66.5%, 61.3%, 0%, 16.9%)
CIE-LABlab(41.42, 36.94, -68.27)
CIE-LCHlch(41.42, 77.63, 298.42°)
OKLaboklab(50.98% 0.0117 -0.1968)
OKLCHoklch(50.98% 0.197 273.4)
XYZxyz(17.4955, 12.1261, 63.6931)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752D4 #D4C947
analogous
#4798D4 #4752D4 #8247D4
triadic
#4752D4 #D44752 #52D447
tetradic
#4752D4 #D44798 #D4C947 #47D482
square
#4752D4 #D44798 #D4C947 #47D482
split-complementary
#4752D4 #D48247 #98D447
monochromatic
#1E2682 #2A35B4 #4752D4 #7981E0 #AAAFEB

Accessibility & contrast

On white

6.13
#4752D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4752D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752D4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752D4#FFFFFF#000000##FFFFFF
##4752D41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4752d4;
/* rgb */ color: rgb(71, 82, 212);
/* oklch */ color: oklch(51.0% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a82e2',
    500: '#4752d4',
    950: '#000000',
  },
}
SCSS
$custom: #4752d4;
$custom-light: #8a82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4752d4",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 235.319,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.1972,
    "h": 273.4
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#4752D4
secondary
#D9D49E
accent
#D943E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4752D4

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

Preview Lab → · Contrast checker → · Palette generator →

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