#2A87B5#2A87B5
#2A87B5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.110 H 235.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87B5 |
|---|---|
| RGB | rgb(42, 135, 181) |
| HSL | hsl(200, 62%, 44%) |
| HSV | hsv(200, 77%, 71%) |
| CMYK | cmyk(76.8%, 25.4%, 0%, 29%) |
| CIE-LAB | lab(53.12, -11.02, -31.81) |
| CIE-LCH | lch(53.12, 33.67, 250.89°) |
| OKLab | oklab(59.08% -0.0628 -0.0897) |
| OKLCH | oklch(59.08% 0.11 235) |
| XYZ | xyz(17.9560, 21.1542, 46.8439) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.41
Steel Blue
#4682B4
ΔE00 4.80
Cerulean
#007BA7
ΔE00 4.98
Cool Blue
#4984B8
ΔE00 5.19
Nice Blue
#107AB0
ΔE00 5.23
Dirty Blue
#3F829D
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87B5 #B5582A
analogous
#2AB59D #2A87B5 #2A41B5
triadic
#2A87B5 #B52A87 #87B52A
tetradic
#2A87B5 #9D2AB5 #B5582A #41B52A
square
#2A87B5 #9D2AB5 #B5582A #41B52A
split-complementary
#2A87B5 #B52A41 #B59D2A
monochromatic
#133D52 #1E6283 #2A87B5 #48A6D4 #79BEE0
Accessibility & contrast
On white
4.01
#2A87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#2A87B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87B5
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87B5 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2a87b5; /* rgb */ color: rgb(42, 135, 181); /* oklch */ color: oklch(59.1% 0.110 235.0);
Tailwind
colors: {
custom: {
50: '#78a9cb',
500: '#2a87b5',
950: '#000000',
},
}SCSS
$custom: #2a87b5; $custom-light: #78a9cb; $custom-dark: #000000;
JSON
{
"hex": "#2a87b5",
"rgb": {
"r": 42,
"g": 135,
"b": 181
},
"hsl": {
"h": 199.856,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.59082,
"c": 0.10954,
"h": 235
},
"luminance": 0.21156
}Semantic roles & 50–950 ramp
primary
#2A87B5
secondary
#C88F73
accent
#7842E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82