#3A51BC#3A51BC
#3A51BC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.170 H 269.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A51BC |
|---|---|
| RGB | rgb(58, 81, 188) |
| HSL | hsl(229, 53%, 48%) |
| HSV | hsv(229, 69%, 74%) |
| CMYK | cmyk(69.1%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(38.58, 27.31, -59.02) |
| CIE-LCH | lch(38.58, 65.03, 294.83°) |
| OKLab | oklab(48.09% -0.0009 -0.17) |
| OKLCH | oklch(48.09% 0.17 269.7) |
| XYZ | xyz(13.7614, 10.4139, 48.8521) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.06
Blue Blue
#2242C7
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A51BC #BCA53A
analogous
#3A92BC #3A51BC #643ABC
triadic
#3A51BC #BC3A51 #51BC3A
tetradic
#3A51BC #BC3A92 #BCA53A #3ABC64
square
#3A51BC #BC3A92 #BCA53A #3ABC64
split-complementary
#3A51BC #BC643A #92BC3A
monochromatic
#1D295E #2C3D8D #3A51BC #6477CF #93A0DE
Accessibility & contrast
On white
6.81
#3A51BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3A51BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A51BC
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A51BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A51BC | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a51bc; /* rgb */ color: rgb(58, 81, 188); /* oklch */ color: oklch(48.1% 0.170 269.7);
Tailwind
colors: {
custom: {
50: '#8081d1',
500: '#3a51bc',
950: '#000000',
},
}SCSS
$custom: #3a51bc; $custom-light: #8081d1; $custom-dark: #000000;
JSON
{
"hex": "#3a51bc",
"rgb": {
"r": 58,
"g": 81,
"b": 188
},
"hsl": {
"h": 229.385,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.4809,
"c": 0.16997,
"h": 269.7
},
"luminance": 0.10415
}Semantic roles & 50–950 ramp
primary
#3A51BC
secondary
#C9BD89
accent
#C34CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82