#4752D3#4752D3

#4752D3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.196 H 273.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4752D3
RGBrgb(71, 82, 211)
HSLhsl(235, 61%, 55%)
HSVhsv(235, 66%, 83%)
CMYKcmyk(66.4%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.34, 36.60, -67.83)
CIE-LCHlch(41.34, 77.07, 298.35°)
OKLaboklab(50.89% 0.0118 -0.1955)
OKLCHoklch(50.89% 0.196 273.4)
XYZxyz(17.3698, 12.0758, 63.0309)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752D3 #D3C847
analogous
#4798D3 #4752D3 #8247D3
triadic
#4752D3 #D34752 #52D347
tetradic
#4752D3 #D34798 #D3C847 #47D382
square
#4752D3 #D34798 #D3C847 #47D382
split-complementary
#4752D3 #D38247 #98D347
monochromatic
#1F2681 #2B35B2 #4752D3 #7880DF #AAAFEB

Accessibility & contrast

On white

6.15
#4752D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4752D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752D3#FFFFFF#000000##FFFFFF
##4752D31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4752d3;
/* rgb */ color: rgb(71, 82, 211);
/* oklch */ color: oklch(50.9% 0.196 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a82e1',
    500: '#4752d3',
    950: '#000000',
  },
}
SCSS
$custom: #4752d3;
$custom-light: #8a82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4752d3",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 235.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.1959,
    "h": 273.4
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#4752D3
secondary
#D8D49E
accent
#D843E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752D3

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

Preview Lab → · Contrast checker → · Palette generator →

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