#3A71C6#3A71C6
#3A71C6 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.145 H 258.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3A71C6 |
|---|---|
| RGB | rgb(58, 113, 198) |
| HSL | hsl(216, 55%, 50%) |
| HSV | hsv(216, 71%, 78%) |
| CMYK | cmyk(70.7%, 42.9%, 0%, 22.4%) |
| CIE-LAB | lab(47.99, 10.46, -49.64) |
| CIE-LCH | lch(47.99, 50.73, 281.90°) |
| OKLab | oklab(55.47% -0.0278 -0.1419) |
| OKLCH | oklch(55.47% 0.145 258.9) |
| XYZ | xyz(17.8394, 16.7851, 55.7148) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.60
Windows Blue
#3778BF
ΔE00 3.30
French Blue
#436BAD
ΔE00 3.69
Flat Blue
#3C73A8
ΔE00 3.96
Cerulean Blue
#056EEE
ΔE00 4.08
Mid Blue
#276AB3
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A71C6 #C68F3A
analogous
#3AB7C6 #3A71C6 #493AC6
triadic
#3A71C6 #C63A71 #71C63A
tetradic
#3A71C6 #C63AB7 #C68F3A #3AC649
square
#3A71C6 #C63AB7 #C68F3A #3AC649
split-complementary
#3A71C6 #C6493A #B7C63A
monochromatic
#1E3B68 #2C5697 #3A71C6 #6993D4 #99B5E1
Accessibility & contrast
On white
4.82
#3A71C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#3A71C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A71C6
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A71C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A71C6 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4879C9
Deuteranopia (green-blind)
#2F6CC4
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3a71c6; /* rgb */ color: rgb(58, 113, 198); /* oklch */ color: oklch(55.5% 0.145 258.9);
Tailwind
colors: {
custom: {
50: '#8199d8',
500: '#3a71c6',
950: '#000000',
},
}SCSS
$custom: #3a71c6; $custom-light: #8199d8; $custom-dark: #000000;
JSON
{
"hex": "#3a71c6",
"rgb": {
"r": 58,
"g": 113,
"b": 198
},
"hsl": {
"h": 216.429,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.55473,
"c": 0.14461,
"h": 258.9
},
"luminance": 0.16787
}Semantic roles & 50–950 ramp
primary
#3A71C6
secondary
#CDB58F
accent
#A449DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83