#4752CA#4752CA

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

Color values

HEX#4752CA
RGBrgb(71, 82, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 65%, 79%)
CMYKcmyk(64.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.63, 33.53, -63.78)
CIE-LCHlch(40.63, 72.06, 297.73°)
OKLaboklab(50.15% 0.012 -0.1837)
OKLCHoklch(50.15% 0.184 273.7)
XYZxyz(16.2730, 11.6370, 57.2543)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752CA #CABF47
analogous
#4793CA #4752CA #7D47CA
triadic
#4752CA #CA4752 #52CA47
tetradic
#4752CA #CA4793 #CABF47 #47CA7D
square
#4752CA #CA4793 #CABF47 #47CA7D
split-complementary
#4752CA #CA7D47 #93CA47
monochromatic
#222975 #2F39A4 #4752CA #777FD8 #A6ABE5

Accessibility & contrast

On white

6.31
#4752CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4752CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752CA#FFFFFF#000000##FFFFFF
##4752CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4752ca;
/* rgb */ color: rgb(71, 82, 202);
/* oklch */ color: oklch(50.2% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#8982db',
    500: '#4752ca',
    950: '#000000',
  },
}
SCSS
$custom: #4752ca;
$custom-light: #8982db;
$custom-dark: #000000;
JSON
{
  "hex": "#4752ca",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 234.962,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.18406,
    "h": 273.7
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#4752CA
secondary
#D2CE9A
accent
#D249DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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