#3A6EC2#3A6EC2
#3A6EC2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.143 H 259.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6EC2 |
|---|---|
| RGB | rgb(58, 110, 194) |
| HSL | hsl(217, 54%, 49%) |
| HSV | hsv(217, 70%, 76%) |
| CMYK | cmyk(70.1%, 43.3%, 0%, 23.9%) |
| CIE-LAB | lab(46.90, 10.89, -49.08) |
| CIE-LCH | lch(46.90, 50.27, 282.51°) |
| OKLab | oklab(54.56% -0.0258 -0.1403) |
| OKLCH | oklch(54.56% 0.143 259.6) |
| XYZ | xyz(17.0550, 15.9447, 53.2073) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.53
French Blue
#436BAD
ΔE00 2.73
Mid Blue
#276AB3
ΔE00 3.49
Flat Blue
#3C73A8
ΔE00 4.09
Windows Blue
#3778BF
ΔE00 4.23
Cerulean Blue
#056EEE
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6EC2 #C28E3A
analogous
#3AB2C2 #3A6EC2 #4A3AC2
triadic
#3A6EC2 #C23A6E #6EC23A
tetradic
#3A6EC2 #C23AB2 #C28E3A #3AC24A
square
#3A6EC2 #C23AB2 #C28E3A #3AC24A
split-complementary
#3A6EC2 #C24A3A #B2C23A
monochromatic
#1E3964 #2C5393 #3A6EC2 #6790D2 #97B3E0
Accessibility & contrast
On white
5.01
#3A6EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#3A6EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6EC2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6EC2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a6ec2; /* rgb */ color: rgb(58, 110, 194); /* oklch */ color: oklch(54.6% 0.143 259.6);
Tailwind
colors: {
custom: {
50: '#8097d5',
500: '#3a6ec2',
950: '#000000',
},
}SCSS
$custom: #3a6ec2; $custom-light: #8097d5; $custom-dark: #000000;
JSON
{
"hex": "#3a6ec2",
"rgb": {
"r": 58,
"g": 110,
"b": 194
},
"hsl": {
"h": 217.059,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.54557,
"c": 0.14265,
"h": 259.6
},
"luminance": 0.15946
}Semantic roles & 50–950 ramp
primary
#3A6EC2
secondary
#CBB38D
accent
#A54ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83