#4C52CA#4C52CA

#4C52CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.183 H 275.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4C52CA
RGBrgb(76, 82, 202)
HSLhsl(237, 54%, 55%)
HSVhsv(237, 62%, 79%)
CMYKcmyk(62.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.95, 34.32, -63.25)
CIE-LCHlch(40.95, 71.96, 298.48°)
OKLaboklab(50.47% 0.0176 -0.182)
OKLCHoklch(50.47% 0.183 275.5)
XYZxyz(16.6550, 11.8340, 57.2722)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CA #CAC44C
analogous
#4C91CA #4C52CA #854CCA
triadic
#4C52CA #CA4C52 #52CA4C
tetradic
#4C52CA #CA4C91 #CAC44C #4CCA85
square
#4C52CA #CA4C91 #CAC44C #4CCA85
split-complementary
#4C52CA #CA854C #91CA4C
monochromatic
#242878 #3237A7 #4C52CA #7B80D8 #AAADE6

Accessibility & contrast

On white

6.24
#4C52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4C52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CA#FFFFFF#000000##FFFFFF
##4C52CA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c52ca;
/* rgb */ color: rgb(76, 82, 202);
/* oklch */ color: oklch(50.5% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#8b82db',
    500: '#4c52ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c52ca;
$custom-light: #8b82db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52ca",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 237.143,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.18283,
    "h": 275.5
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#4C52CA
secondary
#D4D19E
accent
#D74ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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