#3B51BF#3B51BF
#3B51BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.174 H 270.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3B51BF |
|---|---|
| RGB | rgb(59, 81, 191) |
| HSL | hsl(230, 53%, 49%) |
| HSV | hsv(230, 69%, 75%) |
| CMYK | cmyk(69.1%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(38.86, 28.53, -60.31) |
| CIE-LCH | lch(38.86, 66.72, 295.32°) |
| OKLab | oklab(48.38% 0.0002 -0.1738) |
| OKLCH | oklch(48.38% 0.174 270.1) |
| XYZ | xyz(14.1468, 10.5749, 50.5757) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.34
Blue Blue
#2242C7
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.84
Blue (survey)
#0343DF
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B51BF #BFA93B
analogous
#3B93BF #3B51BF #673BBF
triadic
#3B51BF #BF3B51 #51BF3B
tetradic
#3B51BF #BF3B93 #BFA93B #3BBF67
square
#3B51BF #BF3B93 #BFA93B #3BBF67
split-complementary
#3B51BF #BF673B #93BF3B
monochromatic
#1E2961 #2D3D90 #3B51BF #6779D0 #96A2DF
Accessibility & contrast
On white
6.74
#3B51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3B51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3B51BF
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B51BF | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3b51bf; /* rgb */ color: rgb(59, 81, 191); /* oklch */ color: oklch(48.4% 0.174 270.1);
Tailwind
colors: {
custom: {
50: '#8181d3',
500: '#3b51bf',
950: '#000000',
},
}SCSS
$custom: #3b51bf; $custom-light: #8181d3; $custom-dark: #000000;
JSON
{
"hex": "#3b51bf",
"rgb": {
"r": 59,
"g": 81,
"b": 191
},
"hsl": {
"h": 230,
"s": 52.8,
"l": 49.02
},
"oklch": {
"l": 0.48384,
"c": 0.17376,
"h": 270.1
},
"luminance": 0.10576
}Semantic roles & 50–950 ramp
primary
#3B51BF
secondary
#CAC08C
accent
#C44CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83