#2987AF#2987AF
#2987AF is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.104 H 231.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2987AF |
|---|---|
| RGB | rgb(41, 135, 175) |
| HSL | hsl(198, 62%, 42%) |
| HSV | hsv(198, 77%, 69%) |
| CMYK | cmyk(76.6%, 22.9%, 0%, 31.4%) |
| CIE-LAB | lab(52.83, -13.26, -28.82) |
| CIE-LCH | lch(52.83, 31.72, 245.30°) |
| OKLab | oklab(58.76% -0.0654 -0.0811) |
| OKLCH | oklch(58.76% 0.104 231.1) |
| XYZ | xyz(17.3132, 20.8924, 43.6693) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.92
Cerulean
#007BA7
ΔE00 4.78
Nice Blue
#107AB0
ΔE00 6.11
Steel Blue
#4682B4
ΔE00 6.18
Water Blue
#0E87CC
ΔE00 6.38
Cool Blue
#4984B8
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2987AF #AF5129
analogous
#29AF94 #2987AF #2944AF
triadic
#2987AF #AF2987 #87AF29
tetradic
#2987AF #9429AF #AF5129 #44AF29
square
#2987AF #9429AF #AF5129 #44AF29
split-complementary
#2987AF #AF2944 #AF9429
monochromatic
#123B4C #1D617D #2987AF #42A8D3 #74BFDE
Accessibility & contrast
On white
4.05
#2987AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#2987AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2987AF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2987AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2987AF | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2987af; /* rgb */ color: rgb(41, 135, 175); /* oklch */ color: oklch(58.8% 0.104 231.1);
Tailwind
colors: {
custom: {
50: '#77aac7',
500: '#2987af',
950: '#000000',
},
}SCSS
$custom: #2987af; $custom-light: #77aac7; $custom-dark: #000000;
JSON
{
"hex": "#2987af",
"rgb": {
"r": 41,
"g": 135,
"b": 175
},
"hsl": {
"h": 197.91,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.5876,
"c": 0.10418,
"h": 231.1
},
"luminance": 0.20895
}Semantic roles & 50–950 ramp
primary
#2987AF
secondary
#C6886E
accent
#7343E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82