#3C51BE#3C51BE

#3C51BE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.172 H 270.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3C51BE
RGBrgb(60, 81, 190)
HSLhsl(230, 52%, 49%)
HSVhsv(230, 68%, 75%)
CMYKcmyk(68.4%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.83, 28.32, -59.76)
CIE-LCHlch(38.83, 66.13, 295.35°)
OKLaboklab(48.36% 0.0011 -0.1721)
OKLCHoklch(48.36% 0.172 270.4)
XYZxyz(14.0970, 10.5619, 50.0009)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C51BE #BEA93C
analogous
#3C92BE #3C51BE #683CBE
triadic
#3C51BE #BE3C51 #51BE3C
tetradic
#3C51BE #BE3C92 #BEA93C #3CBE68
square
#3C51BE #BE3C92 #BEA93C #3CBE68
split-complementary
#3C51BE #BE683C #92BE3C
monochromatic
#1F2961 #2D3D8F #3C51BE #6879CF #96A2DE

Accessibility & contrast

On white

6.75
#3C51BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3C51BE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C51BE#FFFFFF#000000##FFFFFF
##3C51BE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3c51be;
/* rgb */ color: rgb(60, 81, 190);
/* oklch */ color: oklch(48.4% 0.172 270.4);
Tailwind
colors: {
  custom: {
    50: '#8181d2',
    500: '#3c51be',
    950: '#000000',
  },
}
SCSS
$custom: #3c51be;
$custom-light: #8181d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c51be",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 230.308,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.17212,
    "h": 270.4
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#3C51BE
secondary
#CAC08C
accent
#C44CDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3C51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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