#3A87C6#3A87C6
#3A87C6 is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.122 H 246.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3A87C6 |
|---|---|
| RGB | rgb(58, 135, 198) |
| HSL | hsl(207, 55%, 50%) |
| HSV | hsv(207, 71%, 78%) |
| CMYK | cmyk(70.7%, 31.8%, 0%, 22.4%) |
| CIE-LAB | lab(54.35, -2.89, -39.56) |
| CIE-LCH | lch(54.35, 39.66, 265.83°) |
| OKLab | oklab(60.44% -0.0488 -0.112) |
| OKLCH | oklch(60.44% 0.122 246.5) |
| XYZ | xyz(20.5981, 22.3024, 56.6344) |
| Luminance | 0.2230 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.18
Cerulean (survey)
#0485D1
ΔE00 2.19
Water Blue
#0E87CC
ΔE00 2.40
Steel Blue
#4682B4
ΔE00 2.70
Off Blue
#5684AE
ΔE00 4.12
Dusty Blue
#5A86AD
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A87C6 #C6793A
analogous
#3AC6BF #3A87C6 #3A41C6
triadic
#3A87C6 #C63A87 #87C63A
tetradic
#3A87C6 #BF3AC6 #C6793A #41C63A
square
#3A87C6 #BF3AC6 #C6793A #41C63A
split-complementary
#3A87C6 #C63A41 #C6BF3A
monochromatic
#1E4668 #2C6797 #3A87C6 #69A4D4 #99C1E1
Accessibility & contrast
On white
3.85
#3A87C6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#3A87C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A87C6
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A87C6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A87C6 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B89C9
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #3a87c6; /* rgb */ color: rgb(58, 135, 198); /* oklch */ color: oklch(60.4% 0.122 246.5);
Tailwind
colors: {
custom: {
50: '#81a9d7',
500: '#3a87c6',
950: '#000000',
},
}SCSS
$custom: #3a87c6; $custom-light: #81a9d7; $custom-dark: #000000;
JSON
{
"hex": "#3a87c6",
"rgb": {
"r": 58,
"g": 135,
"b": 198
},
"hsl": {
"h": 207,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.60439,
"c": 0.12221,
"h": 246.5
},
"luminance": 0.22305
}Semantic roles & 50–950 ramp
primary
#3A87C6
secondary
#CDAB8F
accent
#8C49DE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83