#4752CF#4752CF

#4752CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.191 H 273.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4752CF
RGBrgb(71, 82, 207)
HSLhsl(235, 59%, 55%)
HSVhsv(235, 66%, 81%)
CMYKcmyk(65.7%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.02, 35.24, -66.04)
CIE-LCHlch(41.02, 74.85, 298.08°)
OKLaboklab(50.56% 0.0119 -0.1903)
OKLCHoklch(50.56% 0.191 273.6)
XYZxyz(16.8746, 11.8777, 60.4227)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4752CF #CFC447
analogous
#4796CF #4752CF #8047CF
triadic
#4752CF #CF4752 #52CF47
tetradic
#4752CF #CF4796 #CFC447 #47CF80
square
#4752CF #CF4796 #CFC447 #47CF80
split-complementary
#4752CF #CF8047 #96CF47
monochromatic
#20287B #2D37AC #4752CF #7880DC #A8ADE8

Accessibility & contrast

On white

6.22
#4752CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4752CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4752CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4752CF#FFFFFF#000000##FFFFFF
##4752CF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4752cf;
/* rgb */ color: rgb(71, 82, 207);
/* oklch */ color: oklch(50.6% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a82df',
    500: '#4752cf',
    950: '#000000',
  },
}
SCSS
$custom: #4752cf;
$custom-light: #8a82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4752cf",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 235.147,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.19067,
    "h": 273.6
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#4752CF
secondary
#D6D19C
accent
#D546E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4752CF

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

Preview Lab → · Contrast checker → · Palette generator →

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