#3C52E3#3C52E3

#3C52E3 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.219 H 270.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3C52E3
RGBrgb(60, 82, 227)
HSLhsl(232, 75%, 56%)
HSVhsv(232, 74%, 89%)
CMYKcmyk(73.6%, 63.9%, 0%, 11%)
CIE-LABlab(42.06, 40.76, -75.81)
CIE-LCHlch(42.06, 86.07, 298.26°)
OKLaboklab(51.67% -0.0002 -0.2192)
OKLCHoklch(51.67% 0.219 270)
XYZxyz(18.7412, 12.5393, 74.0908)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52E3 #E3CD3C
analogous
#3CA6E3 #3C52E3 #7A3CE3
triadic
#3C52E3 #E33C52 #52E33C
tetradic
#3C52E3 #E33CA6 #E3CD3C #3CE37A
square
#3C52E3 #E33CA6 #E3CD3C #3CE37A
split-complementary
#3C52E3 #E37A3C #A6E33C
monochromatic
#152590 #1C33C5 #3C52E3 #7281EB #A7B1F2

Accessibility & contrast

On white

5.99
#3C52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3C52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52E3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52E3#FFFFFF#000000##FFFFFF
##3C52E31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#005CE0
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3c52e3;
/* rgb */ color: rgb(60, 82, 227);
/* oklch */ color: oklch(51.7% 0.219 270.0);
Tailwind
colors: {
  custom: {
    50: '#8982ed',
    500: '#3c52e3',
    950: '#000000',
  },
}
SCSS
$custom: #3c52e3;
$custom-light: #8982ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52e3",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 232.096,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.21919,
    "h": 270
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#3C52E3
secondary
#E0D79B
accent
#D936F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3C52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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