#3C52C2#3C52C2

#3C52C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.176 H 270.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3C52C2
RGBrgb(60, 82, 194)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 69%, 76%)
CMYKcmyk(69.1%, 57.7%, 0%, 23.9%)
CIE-LABlab(39.39, 29.11, -61.19)
CIE-LCHlch(39.39, 67.76, 295.44°)
OKLaboklab(48.87% 0.0004 -0.1763)
OKLCHoklch(48.87% 0.176 270.1)
XYZxyz(14.6151, 10.8889, 52.3600)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52C2 #C2AC3C
analogous
#3C95C2 #3C52C2 #693CC2
triadic
#3C52C2 #C23C52 #52C23C
tetradic
#3C52C2 #C23C95 #C2AC3C #3CC269
square
#3C52C2 #C23C95 #C2AC3C #3CC269
split-complementary
#3C52C2 #C2693C #95C23C
monochromatic
#1F2A65 #2E3E93 #3C52C2 #6A7BD1 #99A5DF

Accessibility & contrast

On white

6.61
#3C52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3C52C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52C2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52C2#FFFFFF#000000##FFFFFF
##3C52C21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3c52c2;
/* rgb */ color: rgb(60, 82, 194);
/* oklch */ color: oklch(48.9% 0.176 270.1);
Tailwind
colors: {
  custom: {
    50: '#8282d5',
    500: '#3c52c2',
    950: '#000000',
  },
}
SCSS
$custom: #3c52c2;
$custom-light: #8282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52c2",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 230.149,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.1763,
    "h": 270.1
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#3C52C2
secondary
#CBC18F
accent
#C44CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3C52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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