#3C52AE#3C52AE

#3C52AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.149 H 269.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3C52AE
RGBrgb(60, 82, 174)
HSLhsl(228, 49%, 46%)
HSVhsv(228, 66%, 68%)
CMYKcmyk(65.5%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.93, 21.93, -51.81)
CIE-LCHlch(37.93, 56.26, 292.94°)
OKLaboklab(47.31% -0.0006 -0.1487)
OKLCHoklch(47.31% 0.149 269.8)
XYZxyz(12.5182, 10.0501, 41.3164)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52AE #AE983C
analogous
#3C8BAE #3C52AE #5F3CAE
triadic
#3C52AE #AE3C52 #52AE3C
tetradic
#3C52AE #AE3C8B #AE983C #3CAE5F
square
#3C52AE #AE3C8B #AE983C #3CAE5F
split-complementary
#3C52AE #AE5F3C #8BAE3C
monochromatic
#1D2753 #2C3D80 #3C52AE #5F73C8 #8D9BD8

Accessibility & contrast

On white

6.98
#3C52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3C52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52AE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52AE#FFFFFF#000000##FFFFFF
##3C52AE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3c52ae;
/* rgb */ color: rgb(60, 82, 174);
/* oklch */ color: oklch(47.3% 0.149 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e82c7',
    500: '#3c52ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c52ae;
$custom-light: #7e82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52ae",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 228.421,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.14871,
    "h": 269.8
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#3C52AE
secondary
#C2B683
accent
#BE50D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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