#2B87AB#2B87AB
#2B87AB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.100 H 228.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B87AB |
|---|---|
| RGB | rgb(43, 135, 171) |
| HSL | hsl(197, 60%, 42%) |
| HSV | hsv(197, 75%, 67%) |
| CMYK | cmyk(74.9%, 21.1%, 0%, 32.9%) |
| CIE-LAB | lab(52.71, -14.40, -26.70) |
| CIE-LCH | lch(52.71, 30.34, 241.67°) |
| OKLab | oklab(58.62% -0.066 -0.075) |
| OKLCH | oklch(58.62% 0.1 228.6) |
| XYZ | xyz(17.0079, 20.7798, 41.6347) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.06
Cerulean
#007BA7
ΔE00 5.11
Teal Blue
#01889F
ΔE00 5.91
Nice Blue
#107AB0
ΔE00 6.93
Steel Blue
#4682B4
ΔE00 7.10
Stormy Blue
#507B9C
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B87AB #AB4F2B
analogous
#2BAB8F #2B87AB #2B47AB
triadic
#2B87AB #AB2B87 #87AB2B
tetradic
#2B87AB #8F2BAB #AB4F2B #47AB2B
square
#2B87AB #8F2BAB #AB4F2B #47AB2B
split-complementary
#2B87AB #AB2B47 #AB8F2B
monochromatic
#123A49 #1F607A #2B87AB #43A8D0 #74BFDC
Accessibility & contrast
On white
4.07
#2B87AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#2B87AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B87AB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B87AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B87AB | 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)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2b87ab; /* rgb */ color: rgb(43, 135, 171); /* oklch */ color: oklch(58.6% 0.100 228.6);
Tailwind
colors: {
custom: {
50: '#77aac4',
500: '#2b87ab',
950: '#000000',
},
}SCSS
$custom: #2b87ab; $custom-light: #77aac4; $custom-dark: #000000;
JSON
{
"hex": "#2b87ab",
"rgb": {
"r": 43,
"g": 135,
"b": 171
},
"hsl": {
"h": 196.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.58618,
"c": 0.09987,
"h": 228.6
},
"luminance": 0.20782
}Semantic roles & 50–950 ramp
primary
#2B87AB
secondary
#C4866E
accent
#7145E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81