#3A70C6#3A70C6
#3A70C6 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.146 H 259.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3A70C6 |
|---|---|
| RGB | rgb(58, 112, 198) |
| HSL | hsl(217, 55%, 50%) |
| HSV | hsv(217, 71%, 78%) |
| CMYK | cmyk(70.7%, 43.4%, 0%, 22.4%) |
| CIE-LAB | lab(47.70, 11.09, -50.10) |
| CIE-LCH | lch(47.70, 51.31, 282.48°) |
| OKLab | oklab(55.25% -0.0269 -0.1432) |
| OKLCH | oklch(55.25% 0.146 259.4) |
| XYZ | xyz(17.7285, 16.5632, 55.6778) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.65
French Blue
#436BAD
ΔE00 3.46
Windows Blue
#3778BF
ΔE00 3.66
Mid Blue
#276AB3
ΔE00 4.02
Cerulean Blue
#056EEE
ΔE00 4.07
Flat Blue
#3C73A8
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A70C6 #C6903A
analogous
#3AB6C6 #3A70C6 #4A3AC6
triadic
#3A70C6 #C63A70 #70C63A
tetradic
#3A70C6 #C63AB6 #C6903A #3AC64A
square
#3A70C6 #C63AB6 #C6903A #3AC64A
split-complementary
#3A70C6 #C64A3A #B6C63A
monochromatic
#1E3A68 #2C5597 #3A70C6 #6992D4 #99B5E1
Accessibility & contrast
On white
4.87
#3A70C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#3A70C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A70C6
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A70C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A70C6 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4678C9
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3a70c6; /* rgb */ color: rgb(58, 112, 198); /* oklch */ color: oklch(55.3% 0.146 259.4);
Tailwind
colors: {
custom: {
50: '#8198d8',
500: '#3a70c6',
950: '#000000',
},
}SCSS
$custom: #3a70c6; $custom-light: #8198d8; $custom-dark: #000000;
JSON
{
"hex": "#3a70c6",
"rgb": {
"r": 58,
"g": 112,
"b": 198
},
"hsl": {
"h": 216.857,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.55254,
"c": 0.14576,
"h": 259.4
},
"luminance": 0.16565
}Semantic roles & 50–950 ramp
primary
#3A70C6
secondary
#CDB58F
accent
#A549DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83