#4752D1#4752D1

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

Color values

HEX#4752D1
RGBrgb(71, 82, 209)
HSLhsl(235, 60%, 55%)
HSVhsv(235, 66%, 82%)
CMYKcmyk(66%, 60.8%, 0%, 18%)
CIE-LABlab(41.18, 35.92, -66.94)
CIE-LCHlch(41.18, 75.97, 298.22°)
OKLaboklab(50.73% 0.0118 -0.1929)
OKLCHoklch(50.73% 0.193 273.5)
XYZxyz(17.1206, 11.9761, 61.7186)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752D1 #D1C647
analogous
#4797D1 #4752D1 #8147D1
triadic
#4752D1 #D14752 #52D147
tetradic
#4752D1 #D14797 #D1C647 #47D181
square
#4752D1 #D14797 #D1C647 #47D181
split-complementary
#4752D1 #D18147 #97D147
monochromatic
#20277E #2C36AF #4752D1 #7880DD #A9AEE9

Accessibility & contrast

On white

6.18
#4752D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4752D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752D1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752D1#FFFFFF#000000##FFFFFF
##4752D11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4752d1;
/* rgb */ color: rgb(71, 82, 209);
/* oklch */ color: oklch(50.7% 0.193 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a82e0',
    500: '#4752d1',
    950: '#000000',
  },
}
SCSS
$custom: #4752d1;
$custom-light: #8a82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4752d1",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 235.217,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.19329,
    "h": 273.5
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#4752D1
secondary
#D7D29D
accent
#D745E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752D1

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

Preview Lab → · Contrast checker → · Palette generator →

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