#3E51BF#3E51BF
#3E51BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.173 H 271.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3E51BF |
|---|---|
| RGB | rgb(62, 81, 191) |
| HSL | hsl(231, 51%, 50%) |
| HSV | hsv(231, 68%, 75%) |
| CMYK | cmyk(67.5%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(39.02, 28.97, -60.04) |
| CIE-LCH | lch(39.02, 66.67, 295.76°) |
| OKLab | oklab(48.55% 0.0032 -0.1729) |
| OKLCH | oklch(48.55% 0.173 271.1) |
| XYZ | xyz(14.3298, 10.6692, 50.5843) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.66
Sapphire
#0F52BA
ΔE00 4.74
Blue Blue
#2242C7
ΔE00 4.75
Blue (survey)
#0343DF
ΔE00 5.66
Iris
#6258C4
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E51BF #BFAC3E
analogous
#3E91BF #3E51BF #6C3EBF
triadic
#3E51BF #BF3E51 #51BF3E
tetradic
#3E51BF #BF3E91 #BFAC3E #3EBF6C
square
#3E51BF #BF3E91 #BFAC3E #3EBF6C
split-complementary
#3E51BF #BF6C3E #91BF3E
monochromatic
#202A63 #2F3D91 #3E51BF #6B7ACF #99A3DE
Accessibility & contrast
On white
6.70
#3E51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3E51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E51BF
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E51BF | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3e51bf; /* rgb */ color: rgb(62, 81, 191); /* oklch */ color: oklch(48.5% 0.173 271.1);
Tailwind
colors: {
custom: {
50: '#8281d3',
500: '#3e51bf',
950: '#000000',
},
}SCSS
$custom: #3e51bf; $custom-light: #8281d3; $custom-dark: #000000;
JSON
{
"hex": "#3e51bf",
"rgb": {
"r": 62,
"g": 81,
"b": 191
},
"hsl": {
"h": 231.163,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.4855,
"c": 0.17293,
"h": 271.1
},
"luminance": 0.10671
}Semantic roles & 50–950 ramp
primary
#3E51BF
secondary
#CAC18F
accent
#C64DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83