#3A51BE#3A51BE
#3A51BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.173 H 269.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3A51BE |
|---|---|
| RGB | rgb(58, 81, 190) |
| HSL | hsl(230, 53%, 49%) |
| HSV | hsv(230, 69%, 75%) |
| CMYK | cmyk(69.5%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(38.73, 28.03, -59.94) |
| CIE-LCH | lch(38.73, 66.17, 295.06°) |
| OKLab | oklab(48.25% -0.0008 -0.1727) |
| OKLCH | oklch(48.25% 0.173 269.7) |
| XYZ | xyz(13.9784, 10.5007, 49.9954) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.68
Cobalt
#0047AB
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A51BE #BEA73A
analogous
#3A93BE #3A51BE #653ABE
triadic
#3A51BE #BE3A51 #51BE3A
tetradic
#3A51BE #BE3A93 #BEA73A #3ABE65
square
#3A51BE #BE3A93 #BEA73A #3ABE65
split-complementary
#3A51BE #BE653A #93BE3A
monochromatic
#1D2960 #2C3D8F #3A51BE #6578D0 #94A1DE
Accessibility & contrast
On white
6.77
#3A51BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3A51BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A51BE
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A51BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A51BE | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a51be; /* rgb */ color: rgb(58, 81, 190); /* oklch */ color: oklch(48.3% 0.173 269.7);
Tailwind
colors: {
custom: {
50: '#8081d2',
500: '#3a51be',
950: '#000000',
},
}SCSS
$custom: #3a51be; $custom-light: #8081d2; $custom-dark: #000000;
JSON
{
"hex": "#3a51be",
"rgb": {
"r": 58,
"g": 81,
"b": 190
},
"hsl": {
"h": 229.545,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.4825,
"c": 0.17269,
"h": 269.7
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#3A51BE
secondary
#CABF8A
accent
#C34BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83