#3C51D2#3C51D2

#3C51D2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.199 H 270.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3C51D2
RGBrgb(60, 81, 210)
HSLhsl(232, 63%, 53%)
HSVhsv(232, 71%, 82%)
CMYKcmyk(71.4%, 61.4%, 0%, 17.6%)
CIE-LABlab(40.41, 35.43, -68.80)
CIE-LCHlch(40.41, 77.39, 297.25°)
OKLaboklab(50.02% 0.0011 -0.1987)
OKLCHoklch(50.02% 0.199 270.3)
XYZxyz(16.4348, 11.4970, 62.3133)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C51D2 #D2BD3C
analogous
#3C9CD2 #3C51D2 #723CD2
triadic
#3C51D2 #D23C51 #51D23C
tetradic
#3C51D2 #D23C9C #D2BD3C #3CD272
square
#3C51D2 #D23C9C #D2BD3C #3CD272
split-complementary
#3C51D2 #D2723C #9CD23C
monochromatic
#1C2978 #2739AA #3C51D2 #6E7DDD #9FAAE9

Accessibility & contrast

On white

6.36
#3C51D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3C51D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C51D2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C51D2#FFFFFF#000000##FFFFFF
##3C51D21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c51d2;
/* rgb */ color: rgb(60, 81, 210);
/* oklch */ color: oklch(50.0% 0.199 270.3);
Tailwind
colors: {
  custom: {
    50: '#8681e1',
    500: '#3c51d2',
    950: '#000000',
  },
}
SCSS
$custom: #3c51d2;
$custom-light: #8681e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c51d2",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 231.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.19866,
    "h": 270.3
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#3C51D2
secondary
#D5CC94
accent
#CF42E6
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3C51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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