#3C52C1#3C52C1

#3C52C1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.175 H 270.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3C52C1
RGBrgb(60, 82, 193)
HSLhsl(230, 53%, 50%)
HSVhsv(230, 69%, 76%)
CMYKcmyk(68.9%, 57.5%, 0%, 24.3%)
CIE-LABlab(39.32, 28.75, -60.73)
CIE-LCHlch(39.32, 67.19, 295.33°)
OKLaboklab(48.79% 0.0004 -0.1749)
OKLCHoklch(48.79% 0.175 270.1)
XYZxyz(14.5031, 10.8441, 51.7705)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52C1 #C1AB3C
analogous
#3C95C1 #3C52C1 #683CC1
triadic
#3C52C1 #C13C52 #52C13C
tetradic
#3C52C1 #C13C95 #C1AB3C #3CC168
square
#3C52C1 #C13C95 #C1AB3C #3CC168
split-complementary
#3C52C1 #C1683C #95C13C
monochromatic
#1F2A64 #2D3E92 #3C52C1 #6A7BD1 #98A4DF

Accessibility & contrast

On white

6.63
#3C52C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3C52C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52C1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52C1#FFFFFF#000000##FFFFFF
##3C52C11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3c52c1;
/* rgb */ color: rgb(60, 82, 193);
/* oklch */ color: oklch(48.8% 0.175 270.1);
Tailwind
colors: {
  custom: {
    50: '#8282d5',
    500: '#3c52c1',
    950: '#000000',
  },
}
SCSS
$custom: #3c52c1;
$custom-light: #8282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52c1",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 230.075,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.17495,
    "h": 270.1
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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