#4C52CC#4C52CC

#4C52CC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.185 H 275.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4C52CC
RGBrgb(76, 82, 204)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 63%, 80%)
CMYKcmyk(62.7%, 59.8%, 0%, 20%)
CIE-LABlab(41.10, 34.99, -64.16)
CIE-LCHlch(41.10, 73.08, 298.60°)
OKLaboklab(50.63% 0.0175 -0.1846)
OKLCHoklch(50.63% 0.185 275.4)
XYZxyz(16.8933, 11.9293, 58.5274)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CC #CCC64C
analogous
#4C92CC #4C52CC #864CCC
triadic
#4C52CC #CC4C52 #52CC4C
tetradic
#4C52CC #CC4C92 #CCC64C #4CCC86
square
#4C52CC #CC4C92 #CCC64C #4CCC86
split-complementary
#4C52CC #CC864C #92CC4C
monochromatic
#23277B #3136AA #4C52CC #7C80DA #ABAEE7

Accessibility & contrast

On white

6.20
#4C52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4C52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CC#FFFFFF#000000##FFFFFF
##4C52CC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c52cc;
/* rgb */ color: rgb(76, 82, 204);
/* oklch */ color: oklch(50.6% 0.185 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b82dc',
    500: '#4c52cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c52cc;
$custom-light: #8b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52cc",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 237.188,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.18548,
    "h": 275.4
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#4C52CC
secondary
#D5D29F
accent
#D849DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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