#2A87B6#2A87B6
#2A87B6 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.111 H 235.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87B6 |
|---|---|
| RGB | rgb(42, 135, 182) |
| HSL | hsl(200, 63%, 44%) |
| HSV | hsv(200, 77%, 71%) |
| CMYK | cmyk(76.9%, 25.8%, 0%, 28.6%) |
| CIE-LAB | lab(53.16, -10.67, -32.32) |
| CIE-LCH | lch(53.16, 34.03, 251.73°) |
| OKLab | oklab(59.13% -0.0625 -0.0912) |
| OKLCH | oklch(59.13% 0.111 235.6) |
| XYZ | xyz(18.0589, 21.1954, 47.3862) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.11
Steel Blue
#4682B4
ΔE00 4.62
Cool Blue
#4984B8
ΔE00 5.00
Cerulean
#007BA7
ΔE00 5.07
Nice Blue
#107AB0
ΔE00 5.15
Cerulean (survey)
#0485D1
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87B6 #B6592A
analogous
#2AB69F #2A87B6 #2A41B6
triadic
#2A87B6 #B62A87 #87B62A
tetradic
#2A87B6 #9F2AB6 #B6592A #41B62A
square
#2A87B6 #9F2AB6 #B6592A #41B62A
split-complementary
#2A87B6 #B62A41 #B69F2A
monochromatic
#133D53 #1F6284 #2A87B6 #48A6D5 #7ABEE0
Accessibility & contrast
On white
4.01
#2A87B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#2A87B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87B6
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87B6 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2a87b6; /* rgb */ color: rgb(42, 135, 182); /* oklch */ color: oklch(59.1% 0.111 235.6);
Tailwind
colors: {
custom: {
50: '#78a9cc',
500: '#2a87b6',
950: '#000000',
},
}SCSS
$custom: #2a87b6; $custom-light: #78a9cc; $custom-dark: #000000;
JSON
{
"hex": "#2a87b6",
"rgb": {
"r": 42,
"g": 135,
"b": 182
},
"hsl": {
"h": 200.143,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.59132,
"c": 0.11053,
"h": 235.6
},
"luminance": 0.21198
}Semantic roles & 50–950 ramp
primary
#2A87B6
secondary
#C89073
accent
#7942E6
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82