#2987AB#2987AB
#2987AB is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.101 H 228.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2987AB |
|---|---|
| RGB | rgb(41, 135, 171) |
| HSL | hsl(197, 61%, 42%) |
| HSV | hsv(197, 76%, 67%) |
| CMYK | cmyk(76%, 21.1%, 0%, 32.9%) |
| CIE-LAB | lab(52.66, -14.65, -26.78) |
| CIE-LCH | lch(52.66, 30.52, 241.32°) |
| OKLab | oklab(58.57% -0.0669 -0.0752) |
| OKLCH | oklch(58.57% 0.101 228.3) |
| XYZ | xyz(16.9261, 20.7376, 41.6309) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.08
Cerulean
#007BA7
ΔE00 5.11
Teal Blue
#01889F
ΔE00 5.80
Nice Blue
#107AB0
ΔE00 6.99
Steel Blue
#4682B4
ΔE00 7.24
Stormy Blue
#507B9C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2987AB #AB4D29
analogous
#29AB8E #2987AB #2946AB
triadic
#2987AB #AB2987 #87AB29
tetradic
#2987AB #8E29AB #AB4D29 #46AB29
square
#2987AB #8E29AB #AB4D29 #46AB29
split-complementary
#2987AB #AB2946 #AB8E29
monochromatic
#113948 #1D607A #2987AB #40A9D1 #71BFDD
Accessibility & contrast
On white
4.08
#2987AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#2987AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2987AB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2987AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2987AB | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2987ab; /* rgb */ color: rgb(41, 135, 171); /* oklch */ color: oklch(58.6% 0.101 228.3);
Tailwind
colors: {
custom: {
50: '#76aac4',
500: '#2987ab',
950: '#000000',
},
}SCSS
$custom: #2987ab; $custom-light: #76aac4; $custom-dark: #000000;
JSON
{
"hex": "#2987ab",
"rgb": {
"r": 41,
"g": 135,
"b": 171
},
"hsl": {
"h": 196.615,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.58568,
"c": 0.10067,
"h": 228.3
},
"luminance": 0.2074
}Semantic roles & 50–950 ramp
primary
#2987AB
secondary
#C4846C
accent
#7043E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81