#4C52C8#4C52C8

#4C52C8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.180 H 275.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4C52C8
RGBrgb(76, 82, 200)
HSLhsl(237, 53%, 54%)
HSVhsv(237, 62%, 78%)
CMYKcmyk(62%, 59%, 0%, 21.6%)
CIE-LABlab(40.80, 33.64, -62.34)
CIE-LCHlch(40.80, 70.84, 298.35°)
OKLaboklab(50.31% 0.0176 -0.1793)
OKLCHoklch(50.31% 0.18 275.6)
XYZxyz(16.4197, 11.7399, 56.0331)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52C8 #C8C24C
analogous
#4C90C8 #4C52C8 #844CC8
triadic
#4C52C8 #C84C52 #52C84C
tetradic
#4C52C8 #C84C90 #C8C24C #4CC884
square
#4C52C8 #C84C90 #C8C24C #4CC884
split-complementary
#4C52C8 #C8844C #90C84C
monochromatic
#242875 #3238A4 #4C52C8 #7B7FD6 #AAACE5

Accessibility & contrast

On white

6.27
#4C52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52C8#FFFFFF#000000##FFFFFF
##4C52C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c52c8;
/* rgb */ color: rgb(76, 82, 200);
/* oklch */ color: oklch(50.3% 0.180 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b82da',
    500: '#4c52c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c52c8;
$custom-light: #8b82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52c8",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 237.097,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.18016,
    "h": 275.6
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#4C52C8
secondary
#D2D09E
accent
#D54BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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