#3C52C3#3C52C3

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

Color values

HEX#3C52C3
RGBrgb(60, 82, 195)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 69%, 76%)
CMYKcmyk(69.2%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.47, 29.47, -61.64)
CIE-LCHlch(39.47, 68.32, 295.55°)
OKLaboklab(48.95% 0.0004 -0.1776)
OKLCHoklch(48.95% 0.178 270.1)
XYZxyz(14.7277, 10.9339, 52.9535)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52C3 #C3AD3C
analogous
#3C96C3 #3C52C3 #693CC3
triadic
#3C52C3 #C33C52 #52C33C
tetradic
#3C52C3 #C33C96 #C3AD3C #3CC369
square
#3C52C3 #C33C96 #C3AD3C #3CC369
split-complementary
#3C52C3 #C3693C #96C33C
monochromatic
#1F2B65 #2E3E94 #3C52C3 #6B7CD1 #9AA5E0

Accessibility & contrast

On white

6.59
#3C52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3C52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52C3#FFFFFF#000000##FFFFFF
##3C52C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c52c3;
/* rgb */ color: rgb(60, 82, 195);
/* oklch */ color: oklch(49.0% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#8282d6',
    500: '#3c52c3',
    950: '#000000',
  },
}
SCSS
$custom: #3c52c3;
$custom-light: #8282d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52c3",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 230.222,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.17764,
    "h": 270.1
  },
  "luminance": 0.10935
}

Semantic roles & 50–950 ramp

primary
#3C52C3
secondary
#CCC28F
accent
#C54BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3C52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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