#3A6EC1#3A6EC1
#3A6EC1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.141 H 259.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6EC1 |
|---|---|
| RGB | rgb(58, 110, 193) |
| HSL | hsl(217, 54%, 49%) |
| HSV | hsv(217, 70%, 76%) |
| CMYK | cmyk(69.9%, 43%, 0%, 24.3%) |
| CIE-LAB | lab(46.84, 10.52, -48.60) |
| CIE-LCH | lch(46.84, 49.72, 282.22°) |
| OKLab | oklab(54.49% -0.026 -0.1389) |
| OKLCH | oklch(54.49% 0.141 259.4) |
| XYZ | xyz(16.9430, 15.8999, 52.6178) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.44
French Blue
#436BAD
ΔE00 2.65
Mid Blue
#276AB3
ΔE00 3.39
Flat Blue
#3C73A8
ΔE00 4.00
Windows Blue
#3778BF
ΔE00 4.20
Cerulean Blue
#056EEE
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6EC1 #C18D3A
analogous
#3AB2C1 #3A6EC1 #4A3AC1
triadic
#3A6EC1 #C13A6E #6EC13A
tetradic
#3A6EC1 #C13AB2 #C18D3A #3AC14A
square
#3A6EC1 #C13AB2 #C18D3A #3AC14A
split-complementary
#3A6EC1 #C14A3A #B2C13A
monochromatic
#1E3863 #2C5392 #3A6EC1 #6790D1 #96B2DF
Accessibility & contrast
On white
5.02
#3A6EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#3A6EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6EC1
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6EC1 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a6ec1; /* rgb */ color: rgb(58, 110, 193); /* oklch */ color: oklch(54.5% 0.141 259.4);
Tailwind
colors: {
custom: {
50: '#8097d4',
500: '#3a6ec1',
950: '#000000',
},
}SCSS
$custom: #3a6ec1; $custom-light: #8097d4; $custom-dark: #000000;
JSON
{
"hex": "#3a6ec1",
"rgb": {
"r": 58,
"g": 110,
"b": 193
},
"hsl": {
"h": 216.889,
"s": 53.785,
"l": 49.216
},
"oklch": {
"l": 0.54492,
"c": 0.1413,
"h": 259.4
},
"luminance": 0.15902
}Semantic roles & 50–950 ramp
primary
#3A6EC1
secondary
#CBB38C
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83