#3A87BC#3A87BC
#3A87BC is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.9% C 0.111 H 242.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3A87BC |
|---|---|
| RGB | rgb(58, 135, 188) |
| HSL | hsl(204, 53%, 48%) |
| HSV | hsv(204, 69%, 74%) |
| CMYK | cmyk(69.1%, 28.2%, 0%, 26.3%) |
| CIE-LAB | lab(53.87, -6.37, -34.60) |
| CIE-LCH | lch(53.87, 35.19, 259.56°) |
| OKLab | oklab(59.91% -0.0519 -0.0976) |
| OKLCH | oklch(59.91% 0.111 242) |
| XYZ | xyz(19.4825, 21.8562, 50.7591) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 2.34
Cool Blue
#4984B8
ΔE00 2.53
Steel Blue
#4682B4
ΔE00 2.56
Cerulean (survey)
#0485D1
ΔE00 2.96
Off Blue
#5684AE
ΔE00 4.03
Dusty Blue
#5A86AD
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A87BC #BC6F3A
analogous
#3ABCB0 #3A87BC #3A46BC
triadic
#3A87BC #BC3A87 #87BC3A
tetradic
#3A87BC #B03ABC #BC6F3A #46BC3A
square
#3A87BC #B03ABC #BC6F3A #46BC3A
split-complementary
#3A87BC #BC3A46 #BCB03A
monochromatic
#1D445E #2C658D #3A87BC #64A3CF #93BFDE
Accessibility & contrast
On white
3.91
#3A87BC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#3A87BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A87BC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A87BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A87BC | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #3a87bc; /* rgb */ color: rgb(58, 135, 188); /* oklch */ color: oklch(59.9% 0.111 242.0);
Tailwind
colors: {
custom: {
50: '#7fa9d0',
500: '#3a87bc',
950: '#000000',
},
}SCSS
$custom: #3a87bc; $custom-light: #7fa9d0; $custom-dark: #000000;
JSON
{
"hex": "#3a87bc",
"rgb": {
"r": 58,
"g": 135,
"b": 188
},
"hsl": {
"h": 204.462,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.59911,
"c": 0.11057,
"h": 242
},
"luminance": 0.21858
}Semantic roles & 50–950 ramp
primary
#3A87BC
secondary
#C9A389
accent
#874CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82