#4752AA#4752AA

#4752AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.140 H 274.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4752AA
RGBrgb(71, 82, 170)
HSLhsl(233, 41%, 47%)
HSVhsv(233, 58%, 67%)
CMYKcmyk(58.2%, 51.8%, 0%, 33.3%)
CIE-LABlab(38.33, 22.56, -48.76)
CIE-LCHlch(38.33, 53.72, 294.83°)
OKLaboklab(47.71% 0.0109 -0.1395)
OKLCHoklch(47.71% 0.14 274.5)
XYZxyz(12.8692, 10.2755, 39.3276)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752AA #AA9F47
analogous
#4784AA #4752AA #6D47AA
triadic
#4752AA #AA4752 #52AA47
tetradic
#4752AA #AA4784 #AA9F47 #47AA6D
square
#4752AA #AA4784 #AA9F47 #47AA6D
split-complementary
#4752AA #AA6D47 #84AA47
monochromatic
#232854 #353D7F #4752AA #6C76C2 #989ED4

Accessibility & contrast

On white

6.87
#4752AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4752AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752AA#FFFFFF#000000##FFFFFF
##4752AA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#0D56A8
Tritanopia (blue-blind)
#036676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4752aa;
/* rgb */ color: rgb(71, 82, 170);
/* oklch */ color: oklch(47.7% 0.140 274.5);
Tailwind
colors: {
  custom: {
    50: '#8382c4',
    500: '#4752aa',
    950: '#000000',
  },
}
SCSS
$custom: #4752aa;
$custom-light: #8382c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4752aa",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 233.333,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.13989,
    "h": 274.5
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#4752AA
secondary
#C0BA8D
accent
#C357D1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4752AA

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

Preview Lab → · Contrast checker → · Palette generator →

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