#4752CC#4752CC

#4752CC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.187 H 273.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4752CC
RGBrgb(71, 82, 204)
HSLhsl(235, 57%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(65.2%, 59.8%, 0%, 20%)
CIE-LABlab(40.79, 34.21, -64.69)
CIE-LCHlch(40.79, 73.18, 297.87°)
OKLaboklab(50.32% 0.0119 -0.1863)
OKLCHoklch(50.32% 0.187 273.7)
XYZxyz(16.5113, 11.7324, 58.5095)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752CC #CCC147
analogous
#4795CC #4752CC #7F47CC
triadic
#4752CC #CC4752 #52CC47
tetradic
#4752CC #CC4795 #CCC147 #47CC7F
square
#4752CC #CC4795 #CCC147 #47CC7F
split-complementary
#4752CC #CC7F47 #95CC47
monochromatic
#212877 #2E38A7 #4752CC #777FD9 #A7ACE7

Accessibility & contrast

On white

6.27
#4752CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4752CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752CC#FFFFFF#000000##FFFFFF
##4752CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4752cc;
/* rgb */ color: rgb(71, 82, 204);
/* oklch */ color: oklch(50.3% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4752cc',
    950: '#000000',
  },
}
SCSS
$custom: #4752cc;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4752cc",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 235.038,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.18671,
    "h": 273.7
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#4752CC
secondary
#D4CF9B
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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