#2987AC#2987AC
#2987AC is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.102 H 229.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2987AC |
|---|---|
| RGB | rgb(41, 135, 172) |
| HSL | hsl(197, 62%, 42%) |
| HSV | hsv(197, 76%, 67%) |
| CMYK | cmyk(76.2%, 21.5%, 0%, 32.5%) |
| CIE-LAB | lab(52.70, -14.30, -27.29) |
| CIE-LCH | lch(52.70, 30.81, 242.34°) |
| OKLab | oklab(58.61% -0.0665 -0.0767) |
| OKLCH | oklch(58.61% 0.102 229) |
| XYZ | xyz(17.0218, 20.7759, 42.1348) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.27
Cerulean
#007BA7
ΔE00 4.99
Teal Blue
#01889F
ΔE00 6.13
Nice Blue
#107AB0
ΔE00 6.75
Steel Blue
#4682B4
ΔE00 6.96
Stormy Blue
#507B9C
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2987AC #AC4E29
analogous
#29AC90 #2987AC #2945AC
triadic
#2987AC #AC2987 #87AC29
tetradic
#2987AC #9029AC #AC4E29 #45AC29
square
#2987AC #9029AC #AC4E29 #45AC29
split-complementary
#2987AC #AC2945 #AC9029
monochromatic
#113949 #1D607B #2987AC #41A9D2 #72BFDD
Accessibility & contrast
On white
4.07
#2987AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#2987AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2987AC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2987AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2987AC | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2987ac; /* rgb */ color: rgb(41, 135, 172); /* oklch */ color: oklch(58.6% 0.102 229.0);
Tailwind
colors: {
custom: {
50: '#76aac5',
500: '#2987ac',
950: '#000000',
},
}SCSS
$custom: #2987ac; $custom-light: #76aac5; $custom-dark: #000000;
JSON
{
"hex": "#2987ac",
"rgb": {
"r": 41,
"g": 135,
"b": 172
},
"hsl": {
"h": 196.947,
"s": 61.502,
"l": 41.765
},
"oklch": {
"l": 0.58615,
"c": 0.10152,
"h": 229
},
"luminance": 0.20778
}Semantic roles & 50–950 ramp
primary
#2987AC
secondary
#C5856C
accent
#7143E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81