#4752D2#4752D2

#4752D2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.195 H 273.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4752D2
RGBrgb(71, 82, 210)
HSLhsl(235, 61%, 55%)
HSVhsv(235, 66%, 82%)
CMYKcmyk(66.2%, 61%, 0%, 17.6%)
CIE-LABlab(41.26, 36.26, -67.38)
CIE-LCHlch(41.26, 76.52, 298.29°)
OKLaboklab(50.81% 0.0118 -0.1942)
OKLCHoklch(50.81% 0.195 273.5)
XYZxyz(17.2448, 12.0258, 62.3727)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752D2 #D2C747
analogous
#4797D2 #4752D2 #8247D2
triadic
#4752D2 #D24752 #52D247
tetradic
#4752D2 #D24797 #D2C747 #47D282
square
#4752D2 #D24797 #D2C747 #47D282
split-complementary
#4752D2 #D28247 #97D247
monochromatic
#1F277F #2B36B1 #4752D2 #7880DE #A9AEEA

Accessibility & contrast

On white

6.17
#4752D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4752D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4752D2#FFFFFF#000000##FFFFFF
##4752D21.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4752d2;
/* rgb */ color: rgb(71, 82, 210);
/* oklch */ color: oklch(50.8% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a82e1',
    500: '#4752d2',
    950: '#000000',
  },
}
SCSS
$custom: #4752d2;
$custom-light: #8a82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4752d2",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 235.252,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.1946,
    "h": 273.5
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#4752D2
secondary
#D8D39D
accent
#D744E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752D2

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

Preview Lab → · Contrast checker → · Palette generator →

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