#2A87B7#2A87B7
#2A87B7 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.2% C 0.112 H 236.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87B7 |
|---|---|
| RGB | rgb(42, 135, 183) |
| HSL | hsl(200, 63%, 44%) |
| HSV | hsv(200, 77%, 72%) |
| CMYK | cmyk(77%, 26.2%, 0%, 28.2%) |
| CIE-LAB | lab(53.21, -10.32, -32.82) |
| CIE-LCH | lch(53.21, 34.40, 252.55°) |
| OKLab | oklab(59.18% -0.0622 -0.0926) |
| OKLCH | oklch(59.18% 0.112 236.1) |
| XYZ | xyz(18.1627, 21.2369, 47.9325) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.83
Steel Blue
#4682B4
ΔE00 4.45
Cool Blue
#4984B8
ΔE00 4.81
Cerulean (survey)
#0485D1
ΔE00 4.89
Nice Blue
#107AB0
ΔE00 5.08
Cerulean
#007BA7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87B7 #B75A2A
analogous
#2AB7A1 #2A87B7 #2A40B7
triadic
#2A87B7 #B72A87 #87B72A
tetradic
#2A87B7 #A12AB7 #B75A2A #40B72A
square
#2A87B7 #A12AB7 #B75A2A #40B72A
split-complementary
#2A87B7 #B72A40 #B7A12A
monochromatic
#133E53 #1F6285 #2A87B7 #49A5D5 #7BBEE1
Accessibility & contrast
On white
4.00
#2A87B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#2A87B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87B7
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87B7 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7086B9
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2a87b7; /* rgb */ color: rgb(42, 135, 183); /* oklch */ color: oklch(59.2% 0.112 236.1);
Tailwind
colors: {
custom: {
50: '#79a9cd',
500: '#2a87b7',
950: '#000000',
},
}SCSS
$custom: #2a87b7; $custom-light: #79a9cd; $custom-dark: #000000;
JSON
{
"hex": "#2a87b7",
"rgb": {
"r": 42,
"g": 135,
"b": 183
},
"hsl": {
"h": 200.426,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.59183,
"c": 0.11155,
"h": 236.1
},
"luminance": 0.21239
}Semantic roles & 50–950 ramp
primary
#2A87B7
secondary
#C99174
accent
#7A42E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82