#4C52CB#4C52CB

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

Color values

HEX#4C52CB
RGBrgb(76, 82, 203)
HSLhsl(237, 55%, 55%)
HSVhsv(237, 63%, 80%)
CMYKcmyk(62.6%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.03, 34.65, -63.71)
CIE-LCHlch(41.03, 72.52, 298.54°)
OKLaboklab(50.55% 0.0176 -0.1833)
OKLCHoklch(50.55% 0.184 275.5)
XYZxyz(16.7738, 11.8815, 57.8978)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CB #CBC54C
analogous
#4C92CB #4C52CB #854CCB
triadic
#4C52CB #CB4C52 #52CB4C
tetradic
#4C52CB #CB4C92 #CBC54C #4CCB85
square
#4C52CB #CB4C92 #CBC54C #4CCB85
split-complementary
#4C52CB #CB854C #92CB4C
monochromatic
#232779 #3137A9 #4C52CB #7B80D9 #ABAEE7

Accessibility & contrast

On white

6.22
#4C52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CB#FFFFFF#000000##FFFFFF
##4C52CB1.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)
#0066CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c52cb;
/* rgb */ color: rgb(76, 82, 203);
/* oklch */ color: oklch(50.6% 0.184 275.5);
Tailwind
colors: {
  custom: {
    50: '#8b82dc',
    500: '#4c52cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c52cb;
$custom-light: #8b82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52cb",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 237.165,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.18416,
    "h": 275.5
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#4C52CB
secondary
#D4D29F
accent
#D749DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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