#2F87E2#2F87E2
#2F87E2 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.160 H 252.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F87E2 |
|---|---|
| RGB | rgb(47, 135, 226) |
| HSL | hsl(211, 76%, 54%) |
| HSV | hsv(211, 79%, 89%) |
| CMYK | cmyk(79.2%, 40.3%, 0%, 11.4%) |
| CIE-LAB | lab(55.50, 5.88, -53.52) |
| CIE-LCH | lch(55.50, 53.84, 276.27°) |
| OKLab | oklab(61.73% -0.0476 -0.153) |
| OKLCH | oklch(61.73% 0.16 252.7) |
| XYZ | xyz(23.5586, 23.4204, 75.2157) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.57
Dodgerblue
#1E90FF
ΔE00 3.86
Azure
#007FFF
ΔE00 3.94
Cerulean (survey)
#0485D1
ΔE00 4.09
Cool Blue
#4984B8
ΔE00 4.32
Water Blue
#0E87CC
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F87E2 #E28A2F
analogous
#2FE0E2 #2F87E2 #302FE2
triadic
#2F87E2 #E22F87 #87E22F
tetradic
#2F87E2 #E22FE0 #E28A2F #2FE230
square
#2F87E2 #E22FE0 #E28A2F #2FE230
split-complementary
#2F87E2 #E2302F #E0E22F
monochromatic
#124A84 #1A69BA #2F87E2 #65A6E9 #9AC5F1
Accessibility & contrast
On white
3.69
#2F87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#2F87E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F87E2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F87E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F87E2 | 1.00 | 3.69 | 5.68 | 5.68 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#3C7EE0
Tritanopia (blue-blind)
#009DA9
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #2f87e2; /* rgb */ color: rgb(47, 135, 226); /* oklch */ color: oklch(61.7% 0.160 252.7);
Tailwind
colors: {
custom: {
50: '#82a9eb',
500: '#2f87e2',
950: '#000000',
},
}SCSS
$custom: #2f87e2; $custom-light: #82a9eb; $custom-dark: #000000;
JSON
{
"hex": "#2f87e2",
"rgb": {
"r": 47,
"g": 135,
"b": 226
},
"hsl": {
"h": 210.503,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.61735,
"c": 0.16029,
"h": 252.7
},
"luminance": 0.23423
}Semantic roles & 50–950 ramp
primary
#2F87E2
secondary
#DDB790
accent
#9536F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84