#3C52BC#3C52BC

#3C52BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.168 H 270.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3C52BC
RGBrgb(60, 82, 188)
HSLhsl(230, 52%, 49%)
HSVhsv(230, 68%, 74%)
CMYKcmyk(68.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(38.94, 26.96, -58.42)
CIE-LCHlch(38.94, 64.34, 294.77°)
OKLaboklab(48.39% 0.0002 -0.1681)
OKLCHoklch(48.39% 0.168 270.1)
XYZxyz(13.9548, 10.6248, 48.8826)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52BC #BCA63C
analogous
#3C92BC #3C52BC #663CBC
triadic
#3C52BC #BC3C52 #52BC3C
tetradic
#3C52BC #BC3C92 #BCA63C #3CBC66
square
#3C52BC #BC3C92 #BCA63C #3CBC66
split-complementary
#3C52BC #BC663C #92BC3C
monochromatic
#1E2A5F #2D3E8E #3C52BC #6779CE #95A2DD

Accessibility & contrast

On white

6.72
#3C52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3C52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52BC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52BC#FFFFFF#000000##FFFFFF
##3C52BC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3c52bc;
/* rgb */ color: rgb(60, 82, 188);
/* oklch */ color: oklch(48.4% 0.168 270.1);
Tailwind
colors: {
  custom: {
    50: '#8182d1',
    500: '#3c52bc',
    950: '#000000',
  },
}
SCSS
$custom: #3c52bc;
$custom-light: #8182d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52bc",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 229.688,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.16815,
    "h": 270.1
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#3C52BC
secondary
#C9BE8B
accent
#C34DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3C52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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