#3A87C7#3A87C7
#3A87C7 is a mid, vivid cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.123 H 246.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A87C7 |
|---|---|
| RGB | rgb(58, 135, 199) |
| HSL | hsl(207, 56%, 50%) |
| HSV | hsv(207, 71%, 78%) |
| CMYK | cmyk(70.9%, 32.2%, 0%, 22%) |
| CIE-LAB | lab(54.40, -2.54, -40.05) |
| CIE-LCH | lch(54.40, 40.13, 266.38°) |
| OKLab | oklab(60.49% -0.0485 -0.1135) |
| OKLCH | oklch(60.49% 0.123 246.9) |
| XYZ | xyz(20.7138, 22.3487, 57.2438) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean (survey)
#0485D1
ΔE00 2.22
Cool Blue
#4984B8
ΔE00 2.22
Water Blue
#0E87CC
ΔE00 2.50
Steel Blue
#4682B4
ΔE00 2.77
Off Blue
#5684AE
ΔE00 4.15
Dark Sky Blue
#448EE4
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A87C7 #C77A3A
analogous
#3AC7C0 #3A87C7 #3A40C7
triadic
#3A87C7 #C73A87 #87C73A
tetradic
#3A87C7 #C03AC7 #C77A3A #40C73A
square
#3A87C7 #C03AC7 #C77A3A #40C73A
split-complementary
#3A87C7 #C73A40 #C7C03A
monochromatic
#1E4769 #2B6798 #3A87C7 #6AA4D5 #99C1E2
Accessibility & contrast
On white
3.84
#3A87C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#3A87C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A87C7
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A87C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A87C7 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A89CA
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #3a87c7; /* rgb */ color: rgb(58, 135, 199); /* oklch */ color: oklch(60.5% 0.123 246.9);
Tailwind
colors: {
custom: {
50: '#81a9d8',
500: '#3a87c7',
950: '#000000',
},
}SCSS
$custom: #3a87c7; $custom-light: #81a9d8; $custom-dark: #000000;
JSON
{
"hex": "#3a87c7",
"rgb": {
"r": 58,
"g": 135,
"b": 199
},
"hsl": {
"h": 207.234,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.60493,
"c": 0.12341,
"h": 246.9
},
"luminance": 0.22351
}Semantic roles & 50–950 ramp
primary
#3A87C7
secondary
#CEAC8F
accent
#8D49DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83