#4C52CD#4C52CD

#4C52CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.187 H 275.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4C52CD
RGBrgb(76, 82, 205)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 63%, 80%)
CMYKcmyk(62.9%, 60%, 0%, 19.6%)
CIE-LABlab(41.18, 35.32, -64.61)
CIE-LCHlch(41.18, 73.64, 298.66°)
OKLaboklab(50.71% 0.0175 -0.186)
OKLCHoklch(50.71% 0.187 275.4)
XYZxyz(17.0136, 11.9775, 59.1611)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C52CD #CDC74C
analogous
#4C93CD #4C52CD #864CCD
triadic
#4C52CD #CD4C52 #52CD4C
tetradic
#4C52CD #CD4C93 #CDC74C #4CCD86
square
#4C52CD #CD4C93 #CDC74C #4CCD86
split-complementary
#4C52CD #CD864C #93CD4C
monochromatic
#23277C #3036AC #4C52CD #7C80DA #ACAEE8

Accessibility & contrast

On white

6.18
#4C52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4C52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C52CD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C52CD#FFFFFF#000000##FFFFFF
##4C52CD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c52cd;
/* rgb */ color: rgb(76, 82, 205);
/* oklch */ color: oklch(50.7% 0.187 275.4);
Tailwind
colors: {
  custom: {
    50: '#8c82dd',
    500: '#4c52cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c52cd;
$custom-light: #8c82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c52cd",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 237.209,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.1868,
    "h": 275.4
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#4C52CD
secondary
#D5D39F
accent
#D948E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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