#3A61E2#3A61E2
#3A61E2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.2% C 0.201 H 266.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3A61E2 |
|---|---|
| RGB | rgb(58, 97, 226) |
| HSL | hsl(226, 74%, 56%) |
| HSV | hsv(226, 74%, 89%) |
| CMYK | cmyk(74.3%, 57.1%, 0%, 11.4%) |
| CIE-LAB | lab(45.55, 30.82, -69.55) |
| CIE-LCH | lch(45.55, 76.07, 293.90°) |
| OKLab | oklab(54.21% -0.0116 -0.2007) |
| OKLCH | oklch(54.21% 0.201 266.7) |
| XYZ | xyz(19.7423, 14.9378, 73.7796) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.97
Royal Blue
#4169E1
ΔE00 2.67
Bright Blue
#0165FC
ΔE00 3.55
Warm Blue
#4B57DB
ΔE00 4.16
Electric Blue
#0652FF
ΔE00 5.22
Cornflower Blue
#5170D7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A61E2 #E2BB3A
analogous
#3AB5E2 #3A61E2 #673AE2
triadic
#3A61E2 #E23A61 #61E23A
tetradic
#3A61E2 #E23AB5 #E2BB3A #3AE267
square
#3A61E2 #E23AB5 #E2BB3A #3AE267
split-complementary
#3A61E2 #E2673A #B5E23A
monochromatic
#15318D #1D43C2 #3A61E2 #6F8CEA #A5B7F2
Accessibility & contrast
On white
5.27
#3A61E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#3A61E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A61E2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A61E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A61E2 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #3a61e2; /* rgb */ color: rgb(58, 97, 226); /* oklch */ color: oklch(54.2% 0.201 266.7);
Tailwind
colors: {
custom: {
50: '#878dec',
500: '#3a61e2',
950: '#000000',
},
}SCSS
$custom: #3a61e2; $custom-light: #878dec; $custom-dark: #000000;
JSON
{
"hex": "#3a61e2",
"rgb": {
"r": 58,
"g": 97,
"b": 226
},
"hsl": {
"h": 226.071,
"s": 74.336,
"l": 55.686
},
"oklch": {
"l": 0.5421,
"c": 0.20105,
"h": 266.7
},
"luminance": 0.1494
}Semantic roles & 50–950 ramp
primary
#3A61E2
secondary
#DFCF99
accent
#C637F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84