#3E51BA#3E51BA
#3E51BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.166 H 271.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3E51BA |
|---|---|
| RGB | rgb(62, 81, 186) |
| HSL | hsl(231, 50%, 49%) |
| HSV | hsv(231, 67%, 73%) |
| CMYK | cmyk(66.7%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(38.64, 27.19, -57.72) |
| CIE-LCH | lch(38.64, 63.81, 295.23°) |
| OKLab | oklab(48.15% 0.0031 -0.1661) |
| OKLCH | oklch(48.15% 0.166 271.1) |
| XYZ | xyz(13.7890, 10.4529, 47.7358) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 4.95
Warm Blue
#4B57DB
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 5.94
Blue (survey)
#0343DF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E51BA #BAA73E
analogous
#3E8FBA #3E51BA #693EBA
triadic
#3E51BA #BA3E51 #51BA3E
tetradic
#3E51BA #BA3E8F #BAA73E #3EBA69
square
#3E51BA #BA3E8F #BAA73E #3EBA69
split-complementary
#3E51BA #BA693E #8FBA3E
monochromatic
#1F295E #2F3D8C #3E51BA #6878CD #96A1DC
Accessibility & contrast
On white
6.79
#3E51BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3E51BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E51BA
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E51BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E51BA | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3e51ba; /* rgb */ color: rgb(62, 81, 186); /* oklch */ color: oklch(48.2% 0.166 271.1);
Tailwind
colors: {
custom: {
50: '#8181cf',
500: '#3e51ba',
950: '#000000',
},
}SCSS
$custom: #3e51ba; $custom-light: #8181cf; $custom-dark: #000000;
JSON
{
"hex": "#3e51ba",
"rgb": {
"r": 62,
"g": 81,
"b": 186
},
"hsl": {
"h": 230.806,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.48152,
"c": 0.16611,
"h": 271.1
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#3E51BA
secondary
#C8BF8C
accent
#C44EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82