#4C52CF#4C52CF

#4C52CF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.189 H 275.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C52CF
RGBrgb(76, 82, 207)
HSLhsl(237, 58%, 55%)
HSVhsv(237, 63%, 81%)
CMYKcmyk(63.3%, 60.4%, 0%, 18.8%)
CIE-LABlab(41.33, 35.99, -65.52)
CIE-LCHlch(41.33, 74.75, 298.78°)
OKLaboklab(50.88% 0.0175 -0.1886)
OKLCHoklch(50.88% 0.189 275.3)
XYZxyz(17.2566, 12.0746, 60.4406)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CF #CFC94C
analogous
#4C93CF #4C52CF #874CCF
triadic
#4C52CF #CF4C52 #52CF4C
tetradic
#4C52CF #CF4C93 #CFC94C #4CCF87
square
#4C52CF #CF4C93 #CFC94C #4CCF87
split-complementary
#4C52CF #CF874C #93CF4C
monochromatic
#22267F #2F35AF #4C52CF #7C81DC #ADAFE9

Accessibility & contrast

On white

6.15
#4C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CF#FFFFFF#000000##FFFFFF
##4C52CF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c52cf;
/* rgb */ color: rgb(76, 82, 207);
/* oklch */ color: oklch(50.9% 0.189 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c82df',
    500: '#4c52cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c52cf;
$custom-light: #8c82df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52cf",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 237.252,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.18944,
    "h": 275.3
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#4C52CF
secondary
#D7D4A0
accent
#DA47E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4C52CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva