#3C52B2#3C52B2

#3C52B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.154 H 269.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3C52B2
RGBrgb(60, 82, 178)
HSLhsl(229, 50%, 47%)
HSVhsv(229, 66%, 70%)
CMYKcmyk(66.3%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.21, 23.36, -53.72)
CIE-LCHlch(38.21, 58.58, 293.51°)
OKLaboklab(47.62% -0.0003 -0.1543)
OKLCHoklch(47.62% 0.154 269.9)
XYZxyz(12.9139, 10.2084, 43.4007)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52B2 #B29C3C
analogous
#3C8DB2 #3C52B2 #613CB2
triadic
#3C52B2 #B23C52 #52B23C
tetradic
#3C52B2 #B23C8D #B29C3C #3CB261
square
#3C52B2 #B23C8D #B29C3C #3CB261
split-complementary
#3C52B2 #B2613C #8DB23C
monochromatic
#1D2856 #2D3D84 #3C52B2 #6175CA #8F9DD9

Accessibility & contrast

On white

6.90
#3C52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3C52B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52B2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52B2#FFFFFF#000000##FFFFFF
##3C52B21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3c52b2;
/* rgb */ color: rgb(60, 82, 178);
/* oklch */ color: oklch(47.6% 0.154 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f82ca',
    500: '#3c52b2',
    950: '#000000',
  },
}
SCSS
$custom: #3c52b2;
$custom-light: #7f82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52b2",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 228.814,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47616,
    "c": 0.15433,
    "h": 269.9
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#3C52B2
secondary
#C4B986
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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