#4752CB#4752CB

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

Color values

HEX#4752CB
RGBrgb(71, 82, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(65%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.71, 33.87, -64.24)
CIE-LCHlch(40.71, 72.62, 297.80°)
OKLaboklab(50.24% 0.012 -0.185)
OKLCHoklch(50.24% 0.185 273.7)
XYZxyz(16.3917, 11.6845, 57.8799)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752CB #CBC047
analogous
#4794CB #4752CB #7E47CB
triadic
#4752CB #CB4752 #52CB47
tetradic
#4752CB #CB4794 #CBC047 #47CB7E
square
#4752CB #CB4794 #CBC047 #47CB7E
split-complementary
#4752CB #CB7E47 #94CB47
monochromatic
#212876 #2F39A6 #4752CB #777FD8 #A6ACE6

Accessibility & contrast

On white

6.29
#4752CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4752CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752CB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752CB#FFFFFF#000000##FFFFFF
##4752CB1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4752cb;
/* rgb */ color: rgb(71, 82, 203);
/* oklch */ color: oklch(50.2% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#8982dc',
    500: '#4752cb',
    950: '#000000',
  },
}
SCSS
$custom: #4752cb;
$custom-light: #8982dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4752cb",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 235,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.18539,
    "h": 273.7
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#4752CB
secondary
#D3CE9B
accent
#D349DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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