#3C52C9#3C52C9

#3C52C9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.186 H 270.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3C52C9
RGBrgb(60, 82, 201)
HSLhsl(231, 57%, 51%)
HSVhsv(231, 70%, 79%)
CMYKcmyk(70.1%, 59.2%, 0%, 21.2%)
CIE-LABlab(39.93, 31.61, -64.37)
CIE-LCHlch(39.93, 71.71, 296.15°)
OKLaboklab(49.44% 0.0005 -0.1857)
OKLCHoklch(49.44% 0.186 270.2)
XYZxyz(15.4198, 11.2108, 56.5983)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52C9 #C9B33C
analogous
#3C98C9 #3C52C9 #6C3CC9
triadic
#3C52C9 #C93C52 #52C93C
tetradic
#3C52C9 #C93C98 #C9B33C #3CC96C
square
#3C52C9 #C93C98 #C9B33C #3CC96C
split-complementary
#3C52C9 #C96C3C #98C93C
monochromatic
#1E2A6D #2B3D9C #3C52C9 #6C7DD6 #9CA7E4

Accessibility & contrast

On white

6.48
#3C52C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3C52C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52C9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52C9#FFFFFF#000000##FFFFFF
##3C52C91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3c52c9;
/* rgb */ color: rgb(60, 82, 201);
/* oklch */ color: oklch(49.4% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#8482da',
    500: '#3c52c9',
    950: '#000000',
  },
}
SCSS
$custom: #3c52c9;
$custom-light: #8482da;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52c9",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 230.638,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.18566,
    "h": 270.2
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#3C52C9
secondary
#D0C691
accent
#C848E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C52C9

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

Preview Lab → · Contrast checker → · Palette generator →

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