#4752A4#4752A4

#4752A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.131 H 274.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4752A4
RGBrgb(71, 82, 164)
HSLhsl(233, 40%, 46%)
HSVhsv(233, 57%, 64%)
CMYKcmyk(56.7%, 50%, 0%, 35.7%)
CIE-LABlab(37.94, 20.51, -45.82)
CIE-LCHlch(37.94, 50.20, 294.12°)
OKLaboklab(47.28% 0.0103 -0.1308)
OKLCHoklch(47.28% 0.131 274.5)
XYZxyz(12.3145, 10.0536, 36.4064)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752A4 #A49947
analogous
#4780A4 #4752A4 #6A47A4
triadic
#4752A4 #A44752 #52A447
tetradic
#4752A4 #A44780 #A49947 #47A46A
square
#4752A4 #A44780 #A49947 #47A46A
split-complementary
#4752A4 #A46A47 #80A447
monochromatic
#22274F #353D79 #4752A4 #6A74BE #959CD1

Accessibility & contrast

On white

6.97
#4752A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4752A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752A4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752A4#FFFFFF#000000##FFFFFF
##4752A41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#1B56A2
Tritanopia (blue-blind)
#126473
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4752a4;
/* rgb */ color: rgb(71, 82, 164);
/* oklch */ color: oklch(47.3% 0.131 274.5);
Tailwind
colors: {
  custom: {
    50: '#8282bf',
    500: '#4752a4',
    950: '#000000',
  },
}
SCSS
$custom: #4752a4;
$custom-light: #8282bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4752a4",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 232.903,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.13123,
    "h": 274.5
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#4752A4
secondary
#BDB78A
accent
#C158CF
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4752A4

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

Preview Lab → · Contrast checker → · Palette generator →

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