#3A7ECC#3A7ECC
#3A7ECC is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.138 H 253.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7ECC |
|---|---|
| RGB | rgb(58, 126, 204) |
| HSL | hsl(212, 59%, 51%) |
| HSV | hsv(212, 72%, 80%) |
| CMYK | cmyk(71.6%, 38.2%, 0%, 20%) |
| CIE-LAB | lab(52.04, 4.62, -46.62) |
| CIE-LCH | lch(52.04, 46.84, 275.66°) |
| OKLab | oklab(58.73% -0.0386 -0.1328) |
| OKLCH | oklch(58.73% 0.138 253.8) |
| XYZ | xyz(20.1008, 20.1787, 59.9505) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.60
Cool Blue
#4984B8
ΔE00 3.36
Steel Blue
#4682B4
ΔE00 3.52
Bluish
#2976BB
ΔE00 4.01
Off Blue
#5684AE
ΔE00 4.55
Azure
#007FFF
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7ECC #CC883A
analogous
#3AC7CC #3A7ECC #3F3ACC
triadic
#3A7ECC #CC3A7E #7ECC3A
tetradic
#3A7ECC #CC3AC7 #CC883A #3ACC3F
square
#3A7ECC #CC3AC7 #CC883A #3ACC3F
split-complementary
#3A7ECC #CC3F3A #C7CC3A
monochromatic
#1D436F #2960A0 #3A7ECC #6B9ED9 #9BBEE5
Accessibility & contrast
On white
4.17
#3A7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#3A7ECC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A7ECC
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A7ECC | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A83CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #3a7ecc; /* rgb */ color: rgb(58, 126, 204); /* oklch */ color: oklch(58.7% 0.138 253.8);
Tailwind
colors: {
custom: {
50: '#82a2dc',
500: '#3a7ecc',
950: '#000000',
},
}SCSS
$custom: #3a7ecc; $custom-light: #82a2dc; $custom-dark: #000000;
JSON
{
"hex": "#3a7ecc",
"rgb": {
"r": 58,
"g": 126,
"b": 204
},
"hsl": {
"h": 212.055,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.58729,
"c": 0.1383,
"h": 253.8
},
"luminance": 0.20181
}Semantic roles & 50–950 ramp
primary
#3A7ECC
secondary
#D1B391
accent
#9946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83