#3A51CC#3A51CC
#3A51CC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.191 H 269.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3A51CC |
|---|---|
| RGB | rgb(58, 81, 204) |
| HSL | hsl(231, 59%, 51%) |
| HSV | hsv(231, 72%, 80%) |
| CMYK | cmyk(71.6%, 60.3%, 0%, 20%) |
| CIE-LAB | lab(39.82, 33.06, -66.30) |
| CIE-LCH | lch(39.82, 74.08, 296.50°) |
| OKLab | oklab(49.41% -0.0007 -0.1914) |
| OKLCH | oklch(49.41% 0.191 269.8) |
| XYZ | xyz(15.5827, 11.1424, 58.4445) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 4.63
Blue (survey)
#0343DF
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 5.21
Azul
#1D5DEC
ΔE00 5.69
Electric Blue
#0652FF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A51CC #CCB53A
analogous
#3A9ACC #3A51CC #6C3ACC
triadic
#3A51CC #CC3A51 #51CC3A
tetradic
#3A51CC #CC3A9A #CCB53A #3ACC6C
square
#3A51CC #CC3A9A #CCB53A #3ACC6C
split-complementary
#3A51CC #CC6C3A #9ACC3A
monochromatic
#1D2A6F #293CA0 #3A51CC #6B7CD9 #9BA7E5
Accessibility & contrast
On white
6.50
#3A51CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3A51CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A51CC
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A51CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A51CC | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a51cc; /* rgb */ color: rgb(58, 81, 204); /* oklch */ color: oklch(49.4% 0.191 269.8);
Tailwind
colors: {
custom: {
50: '#8381dc',
500: '#3a51cc',
950: '#000000',
},
}SCSS
$custom: #3a51cc; $custom-light: #8381dc; $custom-dark: #000000;
JSON
{
"hex": "#3a51cc",
"rgb": {
"r": 58,
"g": 81,
"b": 204
},
"hsl": {
"h": 230.548,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.49406,
"c": 0.19137,
"h": 269.8
},
"luminance": 0.11144
}Semantic roles & 50–950 ramp
primary
#3A51CC
secondary
#D1C791
accent
#C946E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83