#3A51DC#3A51DC
#3A51DC is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.8% C 0.212 H 269.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3A51DC |
|---|---|
| RGB | rgb(58, 81, 220) |
| HSL | hsl(231, 70%, 55%) |
| HSV | hsv(231, 74%, 86%) |
| CMYK | cmyk(73.6%, 63.2%, 0%, 13.7%) |
| CIE-LAB | lab(41.14, 38.72, -73.34) |
| CIE-LCH | lch(41.14, 82.93, 297.83°) |
| OKLab | oklab(50.79% -0.0011 -0.212) |
| OKLCH | oklch(50.79% 0.212 269.7) |
| XYZ | xyz(17.6012, 11.9498, 69.0752) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Electric Blue
#0652FF
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 4.37
Azul
#1D5DEC
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 5.51
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A51DC #DCC53A
analogous
#3AA2DC #3A51DC #743ADC
triadic
#3A51DC #DC3A51 #51DC3A
tetradic
#3A51DC #DC3AA2 #DCC53A #3ADC74
square
#3A51DC #DC3AA2 #DCC53A #3ADC74
split-complementary
#3A51DC #DC743A #A2DC3A
monochromatic
#172784 #2136B8 #3A51DC #6E7FE5 #A2ADEE
Accessibility & contrast
On white
6.19
#3A51DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#3A51DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A51DC
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A51DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A51DC | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3a51dc; /* rgb */ color: rgb(58, 81, 220); /* oklch */ color: oklch(50.8% 0.212 269.7);
Tailwind
colors: {
custom: {
50: '#8782e8',
500: '#3a51dc',
950: '#000000',
},
}SCSS
$custom: #3a51dc; $custom-light: #8782e8; $custom-dark: #000000;
JSON
{
"hex": "#3a51dc",
"rgb": {
"r": 58,
"g": 81,
"b": 220
},
"hsl": {
"h": 231.481,
"s": 69.828,
"l": 54.51
},
"oklch": {
"l": 0.50786,
"c": 0.21201,
"h": 269.7
},
"luminance": 0.11952
}Semantic roles & 50–950 ramp
primary
#3A51DC
secondary
#DBD197
accent
#D33BED
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84