#4752C8#4752C8

#4752C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.181 H 273.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4752C8
RGBrgb(71, 82, 200)
HSLhsl(235, 54%, 53%)
HSVhsv(235, 65%, 78%)
CMYKcmyk(64.5%, 59%, 0%, 21.6%)
CIE-LABlab(40.48, 32.84, -62.88)
CIE-LCHlch(40.48, 70.94, 297.58°)
OKLaboklab(49.99% 0.012 -0.181)
OKLCHoklch(49.99% 0.181 273.8)
XYZxyz(16.0377, 11.5429, 56.0152)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752C8 #C8BD47
analogous
#4792C8 #4752C8 #7C47C8
triadic
#4752C8 #C84752 #52C847
tetradic
#4752C8 #C84792 #C8BD47 #47C87C
square
#4752C8 #C84792 #C8BD47 #47C87C
split-complementary
#4752C8 #C87C47 #92C847
monochromatic
#222972 #303AA2 #4752C8 #767ED6 #A5ABE4

Accessibility & contrast

On white

6.35
#4752C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4752C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752C8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752C8#FFFFFF#000000##FFFFFF
##4752C81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4752c8;
/* rgb */ color: rgb(71, 82, 200);
/* oklch */ color: oklch(50.0% 0.181 273.8);
Tailwind
colors: {
  custom: {
    50: '#8882da',
    500: '#4752c8',
    950: '#000000',
  },
}
SCSS
$custom: #4752c8;
$custom-light: #8882da;
$custom-dark: #000000;
JSON
{
  "hex": "#4752c8",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 234.884,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.1814,
    "h": 273.8
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#4752C8
secondary
#D1CC9A
accent
#D14ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752C8

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

Preview Lab → · Contrast checker → · Palette generator →

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