#3C52BF#3C52BF

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

Color values

HEX#3C52BF
RGBrgb(60, 82, 191)
HSLhsl(230, 52%, 49%)
HSVhsv(230, 69%, 75%)
CMYKcmyk(68.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.17, 28.03, -59.81)
CIE-LCHlch(39.17, 66.05, 295.11°)
OKLaboklab(48.63% 0.0003 -0.1722)
OKLCHoklch(48.63% 0.172 270.1)
XYZxyz(14.2815, 10.7555, 50.6035)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52BF #BFA93C
analogous
#3C94BF #3C52BF #683CBF
triadic
#3C52BF #BF3C52 #52BF3C
tetradic
#3C52BF #BF3C94 #BFA93C #3CBF68
square
#3C52BF #BF3C94 #BFA93C #3CBF68
split-complementary
#3C52BF #BF683C #94BF3C
monochromatic
#1F2A62 #2D3E90 #3C52BF #687AD0 #97A3DE

Accessibility & contrast

On white

6.66
#3C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3C52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52BF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52BF#FFFFFF#000000##FFFFFF
##3C52BF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3c52bf;
/* rgb */ color: rgb(60, 82, 191);
/* oklch */ color: oklch(48.6% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#8182d3',
    500: '#3c52bf',
    950: '#000000',
  },
}
SCSS
$custom: #3c52bf;
$custom-light: #8182d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52bf",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 229.924,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.17224,
    "h": 270.1
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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