#4752B7#4752B7

#4752B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.158 H 274.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4752B7
RGBrgb(71, 82, 183)
HSLhsl(234, 44%, 50%)
HSVhsv(234, 61%, 72%)
CMYKcmyk(61.2%, 55.2%, 0%, 28.2%)
CIE-LABlab(39.23, 27.01, -54.99)
CIE-LCHlch(39.23, 61.27, 296.16°)
OKLaboklab(48.66% 0.0117 -0.1578)
OKLCHoklch(48.66% 0.158 274.2)
XYZxyz(14.1603, 10.7919, 46.1274)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752B7 #B7AC47
analogous
#478AB7 #4752B7 #7447B7
triadic
#4752B7 #B74752 #52B747
tetradic
#4752B7 #B7478A #B7AC47 #47B774
square
#4752B7 #B7478A #B7AC47 #47B774
split-complementary
#4752B7 #B77447 #8AB747
monochromatic
#252A5F #363E8B #4752B7 #737BC9 #9FA5DA

Accessibility & contrast

On white

6.65
#4752B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4752B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752B7#FFFFFF#000000##FFFFFF
##4752B71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0561BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4752b7;
/* rgb */ color: rgb(71, 82, 183);
/* oklch */ color: oklch(48.7% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#8582cd',
    500: '#4752b7',
    950: '#000000',
  },
}
SCSS
$custom: #4752b7;
$custom-light: #8582cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4752b7",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 234.107,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.15823,
    "h": 274.2
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#4752B7
secondary
#C6C194
accent
#C754D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4752B7

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

Preview Lab → · Contrast checker → · Palette generator →

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