#3C52BA#3C52BA

#3C52BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.165 H 270.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3C52BA
RGBrgb(60, 82, 186)
HSLhsl(230, 51%, 48%)
HSVhsv(230, 68%, 73%)
CMYKcmyk(67.7%, 55.9%, 0%, 27.1%)
CIE-LABlab(38.79, 26.24, -57.48)
CIE-LCHlch(38.79, 63.19, 294.54°)
OKLaboklab(48.24% 0.0002 -0.1654)
OKLCHoklch(48.24% 0.165 270.1)
XYZxyz(13.7407, 10.5391, 47.7550)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52BA #BAA43C
analogous
#3C91BA #3C52BA #653CBA
triadic
#3C52BA #BA3C52 #52BA3C
tetradic
#3C52BA #BA3C91 #BAA43C #3CBA65
square
#3C52BA #BA3C91 #BAA43C #3CBA65
split-complementary
#3C52BA #BA653C #91BA3C
monochromatic
#1E295D #2D3E8C #3C52BA #6678CE #94A1DC

Accessibility & contrast

On white

6.76
#3C52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3C52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52BA#FFFFFF#000000##FFFFFF
##3C52BA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3c52ba;
/* rgb */ color: rgb(60, 82, 186);
/* oklch */ color: oklch(48.2% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#8082cf',
    500: '#3c52ba',
    950: '#000000',
  },
}
SCSS
$custom: #3c52ba;
$custom-light: #8082cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52ba",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 229.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.16541,
    "h": 270.1
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#3C52BA
secondary
#C8BD8A
accent
#C24DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3C52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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