#2A87B3#2A87B3
#2A87B3 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.108 H 233.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87B3 |
|---|---|
| RGB | rgb(42, 135, 179) |
| HSL | hsl(199, 62%, 43%) |
| HSV | hsv(199, 77%, 70%) |
| CMYK | cmyk(76.5%, 24.6%, 0%, 29.8%) |
| CIE-LAB | lab(53.03, -11.73, -30.81) |
| CIE-LCH | lch(53.03, 32.96, 249.15°) |
| OKLab | oklab(58.98% -0.0636 -0.0868) |
| OKLCH | oklch(58.98% 0.108 233.8) |
| XYZ | xyz(17.7522, 21.0727, 45.7709) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 4.84
Dirty Blue
#3F829D
ΔE00 4.90
Water Blue
#0E87CC
ΔE00 5.02
Steel Blue
#4682B4
ΔE00 5.19
Nice Blue
#107AB0
ΔE00 5.45
Cool Blue
#4984B8
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87B3 #B3562A
analogous
#2AB39A #2A87B3 #2A42B3
triadic
#2A87B3 #B32A87 #87B32A
tetradic
#2A87B3 #9A2AB3 #B3562A #42B32A
square
#2A87B3 #9A2AB3 #B3562A #42B32A
split-complementary
#2A87B3 #B32A42 #B39A2A
monochromatic
#133C50 #1E6281 #2A87B3 #46A6D4 #78BEDF
Accessibility & contrast
On white
4.03
#2A87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#2A87B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87B3
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87B3 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2a87b3; /* rgb */ color: rgb(42, 135, 179); /* oklch */ color: oklch(59.0% 0.108 233.8);
Tailwind
colors: {
custom: {
50: '#78aaca',
500: '#2a87b3',
950: '#000000',
},
}SCSS
$custom: #2a87b3; $custom-light: #78aaca; $custom-dark: #000000;
JSON
{
"hex": "#2a87b3",
"rgb": {
"r": 42,
"g": 135,
"b": 179
},
"hsl": {
"h": 199.27,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.58982,
"c": 0.10757,
"h": 233.8
},
"luminance": 0.21075
}Semantic roles & 50–950 ramp
primary
#2A87B3
secondary
#C78D72
accent
#7743E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82