#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 |
|---|---|
| RGB | rgb(60, 81, 190) |
| HSL | hsl(230, 52%, 49%) |
| HSV | hsv(230, 68%, 75%) |
| CMYK | cmyk(68.4%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(38.83, 28.32, -59.76) |
| CIE-LCH | lch(38.83, 66.13, 295.35°) |
| OKLab | oklab(48.36% 0.0011 -0.1721) |
| OKLCH | oklch(48.36% 0.172 270.4) |
| XYZ | xyz(14.0970, 10.5619, 50.0009) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 4.90
Blue (survey)
#0343DF
ΔE00 5.71
Cobalt
#0047AB
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.08
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 |
|---|---|---|---|---|
| ##3C51BE | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.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