#3C51D3#3C51D3

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

Color values

HEX#3C51D3
RGBrgb(60, 81, 211)
HSLhsl(232, 63%, 53%)
HSVhsv(232, 72%, 83%)
CMYKcmyk(71.6%, 61.6%, 0%, 17.3%)
CIE-LABlab(40.49, 35.78, -69.24)
CIE-LCHlch(40.49, 77.94, 297.33°)
OKLaboklab(50.1% 0.0011 -0.2)
OKLCHoklch(50.1% 0.2 270.3)
XYZxyz(16.5598, 11.5470, 62.9715)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C51D3 #D3BE3C
analogous
#3C9CD3 #3C51D3 #733CD3
triadic
#3C51D3 #D33C51 #51D33C
tetradic
#3C51D3 #D33C9C #D3BE3C #3CD373
square
#3C51D3 #D33C9C #D3BE3C #3CD373
split-complementary
#3C51D3 #D3733C #9CD33C
monochromatic
#1B2879 #2739AB #3C51D3 #6E7EDE #A0AAEA

Accessibility & contrast

On white

6.34
#3C51D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3C51D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C51D3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C51D3#FFFFFF#000000##FFFFFF
##3C51D31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c51d3;
/* rgb */ color: rgb(60, 81, 211);
/* oklch */ color: oklch(50.1% 0.200 270.3);
Tailwind
colors: {
  custom: {
    50: '#8681e2',
    500: '#3c51d3',
    950: '#000000',
  },
}
SCSS
$custom: #3c51d3;
$custom-light: #8681e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c51d3",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 231.656,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.19996,
    "h": 270.3
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C51D3

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

Preview Lab → · Contrast checker → · Palette generator →

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