#3A87CC#3A87CC
#3A87CC is a mid, vivid cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.129 H 248.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3A87CC |
|---|---|
| RGB | rgb(58, 135, 204) |
| HSL | hsl(208, 59%, 51%) |
| HSV | hsv(208, 72%, 80%) |
| CMYK | cmyk(71.6%, 33.8%, 0%, 20%) |
| CIE-LAB | lab(54.64, -0.77, -42.49) |
| CIE-LCH | lch(54.64, 42.50, 268.96°) |
| OKLab | oklab(60.77% -0.0471 -0.1206) |
| OKLCH | oklch(60.77% 0.129 248.7) |
| XYZ | xyz(21.3039, 22.5848, 60.3516) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.52
Cerulean (survey)
#0485D1
ΔE00 2.54
Water Blue
#0E87CC
ΔE00 3.08
Steel Blue
#4682B4
ΔE00 3.18
Dark Sky Blue
#448EE4
ΔE00 3.87
Off Blue
#5684AE
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A87CC #CC7F3A
analogous
#3ACCC8 #3A87CC #3A3ECC
triadic
#3A87CC #CC3A87 #87CC3A
tetradic
#3A87CC #C83ACC #CC7F3A #3ECC3A
square
#3A87CC #C83ACC #CC7F3A #3ECC3A
split-complementary
#3A87CC #CC3A3E #CCC83A
monochromatic
#1D486F #2968A0 #3A87CC #6BA5D9 #9BC2E5
Accessibility & contrast
On white
3.81
#3A87CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#3A87CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A87CC
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A87CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A87CC | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #3a87cc; /* rgb */ color: rgb(58, 135, 204); /* oklch */ color: oklch(60.8% 0.129 248.7);
Tailwind
colors: {
custom: {
50: '#82a9dc',
500: '#3a87cc',
950: '#000000',
},
}SCSS
$custom: #3a87cc; $custom-light: #82a9dc; $custom-dark: #000000;
JSON
{
"hex": "#3a87cc",
"rgb": {
"r": 58,
"g": 135,
"b": 204
},
"hsl": {
"h": 208.356,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.60768,
"c": 0.12947,
"h": 248.7
},
"luminance": 0.22587
}Semantic roles & 50–950 ramp
primary
#3A87CC
secondary
#D1AF91
accent
#9046E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83