#4752BF#4752BF

#4752BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.169 H 274.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4752BF
RGBrgb(71, 82, 191)
HSLhsl(235, 48%, 51%)
HSVhsv(235, 63%, 75%)
CMYKcmyk(62.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.81, 29.76, -58.74)
CIE-LCHlch(39.81, 65.84, 296.87°)
OKLaboklab(49.28% 0.012 -0.1688)
OKLCHoklch(49.28% 0.169 274)
XYZxyz(15.0167, 11.1345, 50.6379)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752BF #BFB447
analogous
#478EBF #4752BF #7847BF
triadic
#4752BF #BF4752 #52BF47
tetradic
#4752BF #BF478E #BFB447 #47BF78
square
#4752BF #BF478E #BFB447 #47BF78
split-complementary
#4752BF #BF7847 #8EBF47
monochromatic
#242A68 #343D95 #4752BF #747DCF #A2A7DF

Accessibility & contrast

On white

6.51
#4752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752BF#FFFFFF#000000##FFFFFF
##4752BF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4752bf;
/* rgb */ color: rgb(71, 82, 191);
/* oklch */ color: oklch(49.3% 0.169 274.0);
Tailwind
colors: {
  custom: {
    50: '#8782d3',
    500: '#4752bf',
    950: '#000000',
  },
}
SCSS
$custom: #4752bf;
$custom-light: #8782d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4752bf",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 234.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.16925,
    "h": 274
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#4752BF
secondary
#CBC796
accent
#CB50D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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