#3C52CC#3C52CC

#3C52CC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.190 H 270.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3C52CC
RGBrgb(60, 82, 204)
HSLhsl(231, 59%, 52%)
HSVhsv(231, 71%, 80%)
CMYKcmyk(70.6%, 59.8%, 0%, 20%)
CIE-LABlab(40.17, 32.67, -65.72)
CIE-LCHlch(40.17, 73.40, 296.43°)
OKLaboklab(49.69% 0.0005 -0.1896)
OKLCHoklch(49.69% 0.19 270.2)
XYZxyz(15.7761, 11.3533, 58.4750)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52CC #CCB63C
analogous
#3C9ACC #3C52CC #6E3CCC
triadic
#3C52CC #CC3C52 #52CC3C
tetradic
#3C52CC #CC3C9A #CCB63C #3CCC6E
square
#3C52CC #CC3C9A #CCB63C #3CCC6E
split-complementary
#3C52CC #CC6E3C #9ACC3C
monochromatic
#1D2A70 #2A3CA1 #3C52CC #6D7DD9 #9DA8E5

Accessibility & contrast

On white

6.42
#3C52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3C52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52CC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52CC#FFFFFF#000000##FFFFFF
##3C52CC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c52cc;
/* rgb */ color: rgb(60, 82, 204);
/* oklch */ color: oklch(49.7% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#8482dc',
    500: '#3c52cc',
    950: '#000000',
  },
}
SCSS
$custom: #3c52cc;
$custom-light: #8482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52cc",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 230.833,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.18963,
    "h": 270.2
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#3C52CC
secondary
#D1C892
accent
#CA46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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