#3A87B2#3A87B2
#3A87B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.4% C 0.100 H 236.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3A87B2 |
|---|---|
| RGB | rgb(58, 135, 178) |
| HSL | hsl(202, 51%, 46%) |
| HSV | hsv(202, 67%, 70%) |
| CMYK | cmyk(67.4%, 24.2%, 0%, 30.2%) |
| CIE-LAB | lab(53.43, -9.80, -29.58) |
| CIE-LCH | lch(53.43, 31.16, 251.68°) |
| OKLab | oklab(59.41% -0.0552 -0.0831) |
| OKLCH | oklch(59.41% 0.1 236.4) |
| XYZ | xyz(18.4417, 21.4399, 45.2773) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 3.98
Cool Blue
#4984B8
ΔE00 4.31
Water Blue
#0E87CC
ΔE00 4.41
Off Blue
#5684AE
ΔE00 4.86
Dusty Blue
#5A86AD
ΔE00 4.88
Dirty Blue
#3F829D
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A87B2 #B2653A
analogous
#3AB2A1 #3A87B2 #3A4BB2
triadic
#3A87B2 #B23A87 #87B23A
tetradic
#3A87B2 #A13AB2 #B2653A #4BB23A
square
#3A87B2 #A13AB2 #B2653A #4BB23A
split-complementary
#3A87B2 #B23A4B #B2A13A
monochromatic
#1C4156 #2B6484 #3A87B2 #5FA4CB #8DBEDA
Accessibility & contrast
On white
3.97
#3A87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#3A87B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A87B2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A87B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A87B2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #3a87b2; /* rgb */ color: rgb(58, 135, 178); /* oklch */ color: oklch(59.4% 0.100 236.4);
Tailwind
colors: {
custom: {
50: '#7ea9c9',
500: '#3a87b2',
950: '#000000',
},
}SCSS
$custom: #3a87b2; $custom-light: #7ea9c9; $custom-dark: #000000;
JSON
{
"hex": "#3a87b2",
"rgb": {
"r": 58,
"g": 135,
"b": 178
},
"hsl": {
"h": 201.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.5941,
"c": 0.09978,
"h": 236.4
},
"luminance": 0.21442
}Semantic roles & 50–950 ramp
primary
#3A87B2
secondary
#C49B83
accent
#804DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82