#4752DA#4752DA

#4752DA is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.205 H 273.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4752DA
RGBrgb(71, 82, 218)
HSLhsl(236, 67%, 57%)
HSVhsv(236, 67%, 85%)
CMYKcmyk(67.4%, 62.4%, 0%, 14.5%)
CIE-LABlab(41.90, 38.98, -70.92)
CIE-LCHlch(41.90, 80.93, 298.79°)
OKLaboklab(51.48% 0.0115 -0.2046)
OKLCHoklch(51.48% 0.205 273.2)
XYZxyz(18.2665, 12.4344, 67.7535)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752DA #DACF47
analogous
#479CDA #4752DA #8647DA
triadic
#4752DA #DA4752 #52DA47
tetradic
#4752DA #DA479C #DACF47 #47DA86
square
#4752DA #DA479C #DACF47 #47DA86
split-complementary
#4752DA #DA8647 #9CDA47
monochromatic
#1C248B #2631BE #4752DA #7A82E4 #ADB2EE

Accessibility & contrast

On white

6.02
#4752DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4752DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752DA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752DA#FFFFFF#000000##FFFFFF
##4752DA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4752da;
/* rgb */ color: rgb(71, 82, 218);
/* oklch */ color: oklch(51.5% 0.205 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c82e6',
    500: '#4752da',
    950: '#000000',
  },
}
SCSS
$custom: #4752da;
$custom-light: #8c82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4752da",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 235.51,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51481,
    "c": 0.20495,
    "h": 273.2
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#4752DA
secondary
#DCD8A0
accent
#DD3EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4752DA

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

Preview Lab → · Contrast checker → · Palette generator →

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