#4752BD#4752BD

#4752BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.167 H 274.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4752BD
RGBrgb(71, 82, 189)
HSLhsl(234, 47%, 51%)
HSVhsv(234, 62%, 74%)
CMYKcmyk(62.4%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.66, 29.07, -57.81)
CIE-LCHlch(39.66, 64.70, 296.70°)
OKLaboklab(49.12% 0.0119 -0.1661)
OKLCHoklch(49.12% 0.167 274.1)
XYZxyz(14.7981, 11.0471, 49.4867)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752BD #BDB247
analogous
#478DBD #4752BD #7747BD
triadic
#4752BD #BD4752 #52BD47
tetradic
#4752BD #BD478D #BDB247 #47BD77
square
#4752BD #BD478D #BDB247 #47BD77
split-complementary
#4752BD #BD7747 #8DBD47
monochromatic
#242A65 #343D92 #4752BD #747CCD #A1A7DD

Accessibility & contrast

On white

6.54
#4752BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4752BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752BD#FFFFFF#000000##FFFFFF
##4752BD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4752bd;
/* rgb */ color: rgb(71, 82, 189);
/* oklch */ color: oklch(49.1% 0.167 274.1);
Tailwind
colors: {
  custom: {
    50: '#8682d2',
    500: '#4752bd',
    950: '#000000',
  },
}
SCSS
$custom: #4752bd;
$custom-light: #8682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4752bd",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 234.407,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.16652,
    "h": 274.1
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#4752BD
secondary
#CAC596
accent
#CA51D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4752BD

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

Preview Lab → · Contrast checker → · Palette generator →

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