#3C52DC#3C52DC

#3C52DC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.1% C 0.210 H 270.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3C52DC
RGBrgb(60, 82, 220)
HSLhsl(232, 70%, 55%)
HSVhsv(232, 73%, 86%)
CMYKcmyk(72.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(41.47, 38.32, -72.79)
CIE-LCHlch(41.47, 82.26, 297.76°)
OKLaboklab(51.06% 0.0001 -0.2103)
OKLCHoklch(51.06% 0.21 270)
XYZxyz(17.7946, 12.1607, 69.1057)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52DC #DCC63C
analogous
#3CA2DC #3C52DC #763CDC
triadic
#3C52DC #DC3C52 #52DC3C
tetradic
#3C52DC #DC3CA2 #DCC63C #3CDC76
square
#3C52DC #DC3CA2 #DCC63C #3CDC76
split-complementary
#3C52DC #DC763C #A2DC3C
monochromatic
#182786 #2136BA #3C52DC #7080E5 #A4AEEF

Accessibility & contrast

On white

6.12
#3C52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3C52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52DC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52DC#FFFFFF#000000##FFFFFF
##3C52DC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3c52dc;
/* rgb */ color: rgb(60, 82, 220);
/* oklch */ color: oklch(51.1% 0.210 270.0);
Tailwind
colors: {
  custom: {
    50: '#8882e8',
    500: '#3c52dc',
    950: '#000000',
  },
}
SCSS
$custom: #3c52dc;
$custom-light: #8882e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52dc",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 231.75,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.21035,
    "h": 270
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#3C52DC
secondary
#DCD298
accent
#D43BEC
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3C52DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3C52DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva