#3A7EC5#3A7EC5
#3A7EC5 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.129 H 251.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7EC5 |
|---|---|
| RGB | rgb(58, 126, 197) |
| HSL | hsl(211, 55%, 50%) |
| HSV | hsv(211, 71%, 77%) |
| CMYK | cmyk(70.6%, 36%, 0%, 22.7%) |
| CIE-LAB | lab(51.67, 2.11, -43.22) |
| CIE-LCH | lch(51.67, 43.27, 272.80°) |
| OKLab | oklab(58.32% -0.0403 -0.1228) |
| OKLCH | oklch(58.32% 0.129 251.8) |
| XYZ | xyz(19.2801, 19.8504, 55.6279) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.28
Steel Blue
#4682B4
ΔE00 2.88
Cool Blue
#4984B8
ΔE00 2.90
Bluish
#2976BB
ΔE00 3.45
Off Blue
#5684AE
ΔE00 4.27
Cerulean (survey)
#0485D1
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7EC5 #C5813A
analogous
#3AC4C5 #3A7EC5 #3B3AC5
triadic
#3A7EC5 #C53A7E #7EC53A
tetradic
#3A7EC5 #C53AC4 #C5813A #3AC53B
square
#3A7EC5 #C53AC4 #C5813A #3AC53B
split-complementary
#3A7EC5 #C53B3A #C4C53A
monochromatic
#1E4266 #2C6096 #3A7EC5 #699DD3 #99BCE1
Accessibility & contrast
On white
4.23
#3A7EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#3A7EC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A7EC5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7EC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A7EC5 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#4A75C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #3a7ec5; /* rgb */ color: rgb(58, 126, 197); /* oklch */ color: oklch(58.3% 0.129 251.8);
Tailwind
colors: {
custom: {
50: '#80a3d7',
500: '#3a7ec5',
950: '#000000',
},
}SCSS
$custom: #3a7ec5; $custom-light: #80a3d7; $custom-dark: #000000;
JSON
{
"hex": "#3a7ec5",
"rgb": {
"r": 58,
"g": 126,
"b": 197
},
"hsl": {
"h": 210.647,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.58318,
"c": 0.1293,
"h": 251.8
},
"luminance": 0.19852
}Semantic roles & 50–950 ramp
primary
#3A7EC5
secondary
#CDAE8E
accent
#954ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83