#4752AE#4752AE

#4752AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.146 H 274.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4752AE
RGBrgb(71, 82, 174)
HSLhsl(234, 42%, 48%)
HSVhsv(234, 59%, 68%)
CMYKcmyk(59.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(38.60, 23.92, -50.69)
CIE-LCHlch(38.60, 56.05, 295.26°)
OKLaboklab(48% 0.0112 -0.1452)
OKLCHoklch(48% 0.146 274.4)
XYZxyz(13.2533, 10.4292, 41.3508)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752AE #AEA347
analogous
#4785AE #4752AE #6F47AE
triadic
#4752AE #AE4752 #52AE47
tetradic
#4752AE #AE4785 #AEA347 #47AE6F
square
#4752AE #AE4785 #AEA347 #47AE6F
split-complementary
#4752AE #AE6F47 #85AE47
monochromatic
#242957 #353E83 #4752AE #6E77C4 #9AA0D6

Accessibility & contrast

On white

6.80
#4752AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4752AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752AE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752AE#FFFFFF#000000##FFFFFF
##4752AE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4752ae;
/* rgb */ color: rgb(71, 82, 174);
/* oklch */ color: oklch(48.0% 0.146 274.4);
Tailwind
colors: {
  custom: {
    50: '#8482c7',
    500: '#4752ae',
    950: '#000000',
  },
}
SCSS
$custom: #4752ae;
$custom-light: #8482c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4752ae",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 233.592,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.1456,
    "h": 274.4
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#4752AE
secondary
#C2BC8F
accent
#C556D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4752AE

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

Preview Lab → · Contrast checker → · Palette generator →

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