#2A87B1#2A87B1
#2A87B1 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.106 H 232.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87B1 |
|---|---|
| RGB | rgb(42, 135, 177) |
| HSL | hsl(199, 62%, 43%) |
| HSV | hsv(199, 76%, 69%) |
| CMYK | cmyk(76.3%, 23.7%, 0%, 30.6%) |
| CIE-LAB | lab(52.94, -12.43, -29.79) |
| CIE-LCH | lch(52.94, 32.28, 247.35°) |
| OKLab | oklab(58.88% -0.0643 -0.0839) |
| OKLCH | oklch(58.88% 0.106 232.5) |
| XYZ | xyz(17.5514, 20.9924, 44.7134) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.41
Cerulean
#007BA7
ΔE00 4.78
Steel Blue
#4682B4
ΔE00 5.63
Water Blue
#0E87CC
ΔE00 5.65
Nice Blue
#107AB0
ΔE00 5.73
Cool Blue
#4984B8
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87B1 #B1542A
analogous
#2AB198 #2A87B1 #2A43B1
triadic
#2A87B1 #B12A87 #87B12A
tetradic
#2A87B1 #982AB1 #B1542A #43B12A
square
#2A87B1 #982AB1 #B1542A #43B12A
split-complementary
#2A87B1 #B12A43 #B1982A
monochromatic
#133C4E #1E6180 #2A87B1 #45A7D3 #77BEDF
Accessibility & contrast
On white
4.04
#2A87B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#2A87B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87B1
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87B1 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7286B3
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2a87b1; /* rgb */ color: rgb(42, 135, 177); /* oklch */ color: oklch(58.9% 0.106 232.5);
Tailwind
colors: {
custom: {
50: '#78aac8',
500: '#2a87b1',
950: '#000000',
},
}SCSS
$custom: #2a87b1; $custom-light: #78aac8; $custom-dark: #000000;
JSON
{
"hex": "#2a87b1",
"rgb": {
"r": 42,
"g": 135,
"b": 177
},
"hsl": {
"h": 198.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.58883,
"c": 0.10566,
"h": 232.5
},
"luminance": 0.20995
}Semantic roles & 50–950 ramp
primary
#2A87B1
secondary
#C68B70
accent
#7543E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82