#3B51CF#3B51CF
#3B51CF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.7% C 0.195 H 270.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3B51CF |
|---|---|
| RGB | rgb(59, 81, 207) |
| HSL | hsl(231, 61%, 52%) |
| HSV | hsv(231, 71%, 81%) |
| CMYK | cmyk(71.5%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.11, 34.25, -67.55) |
| CIE-LCH | lch(40.11, 75.74, 296.88°) |
| OKLab | oklab(49.71% 0.0002 -0.195) |
| OKLCH | oklch(49.71% 0.195 270.1) |
| XYZ | xyz(16.0047, 11.3180, 60.3605) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.12
Blue (survey)
#0343DF
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 4.75
Azul
#1D5DEC
ΔE00 5.51
Electric Blue
#0652FF
ΔE00 5.54
Sapphire
#0F52BA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B51CF #CFB93B
analogous
#3B9BCF #3B51CF #6F3BCF
triadic
#3B51CF #CF3B51 #51CF3B
tetradic
#3B51CF #CF3B9B #CFB93B #3BCF6F
square
#3B51CF #CF3B9B #CFB93B #3BCF6F
split-complementary
#3B51CF #CF6F3B #9BCF3B
monochromatic
#1C2973 #283BA5 #3B51CF #6C7DDB #9DA8E7
Accessibility & contrast
On white
6.43
#3B51CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3B51CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B51CF
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B51CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B51CF | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3b51cf; /* rgb */ color: rgb(59, 81, 207); /* oklch */ color: oklch(49.7% 0.195 270.1);
Tailwind
colors: {
custom: {
50: '#8581df',
500: '#3b51cf',
950: '#000000',
},
}SCSS
$custom: #3b51cf; $custom-light: #8581df; $custom-dark: #000000;
JSON
{
"hex": "#3b51cf",
"rgb": {
"r": 59,
"g": 81,
"b": 207
},
"hsl": {
"h": 231.081,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.4971,
"c": 0.19503,
"h": 270.1
},
"luminance": 0.1132
}Semantic roles & 50–950 ramp
primary
#3B51CF
secondary
#D3CA93
accent
#CC44E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83