#3A6EC6#3A6EC6
#3A6EC6 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.8% C 0.148 H 260.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6EC6 |
|---|---|
| RGB | rgb(58, 110, 198) |
| HSL | hsl(218, 55%, 50%) |
| HSV | hsv(218, 71%, 78%) |
| CMYK | cmyk(70.7%, 44.4%, 0%, 22.4%) |
| CIE-LAB | lab(47.14, 12.35, -51.00) |
| CIE-LCH | lch(47.14, 52.47, 283.61°) |
| OKLab | oklab(54.82% -0.0251 -0.1459) |
| OKLCH | oklch(54.82% 0.148 260.2) |
| XYZ | xyz(17.5102, 16.1268, 55.6051) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.92
French Blue
#436BAD
ΔE00 3.09
Mid Blue
#276AB3
ΔE00 3.91
Cerulean Blue
#056EEE
ΔE00 4.14
Windows Blue
#3778BF
ΔE00 4.39
Flat Blue
#3C73A8
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6EC6 #C6923A
analogous
#3AB4C6 #3A6EC6 #4C3AC6
triadic
#3A6EC6 #C63A6E #6EC63A
tetradic
#3A6EC6 #C63AB4 #C6923A #3AC64C
square
#3A6EC6 #C63AB4 #C6923A #3AC64C
split-complementary
#3A6EC6 #C64C3A #B4C63A
monochromatic
#1E3968 #2C5497 #3A6EC6 #6991D4 #99B4E1
Accessibility & contrast
On white
4.97
#3A6EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#3A6EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6EC6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6EC6 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4277C9
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3a6ec6; /* rgb */ color: rgb(58, 110, 198); /* oklch */ color: oklch(54.8% 0.148 260.2);
Tailwind
colors: {
custom: {
50: '#8197d8',
500: '#3a6ec6',
950: '#000000',
},
}SCSS
$custom: #3a6ec6; $custom-light: #8197d8; $custom-dark: #000000;
JSON
{
"hex": "#3a6ec6",
"rgb": {
"r": 58,
"g": 110,
"b": 198
},
"hsl": {
"h": 217.714,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.54818,
"c": 0.14808,
"h": 260.2
},
"luminance": 0.16129
}Semantic roles & 50–950 ramp
primary
#3A6EC6
secondary
#CDB68F
accent
#A749DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83