#2A87AA#2A87AA
#2A87AA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.099 H 227.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87AA |
|---|---|
| RGB | rgb(42, 135, 170) |
| HSL | hsl(196, 60%, 42%) |
| HSV | hsv(196, 75%, 67%) |
| CMYK | cmyk(75.3%, 20.6%, 0%, 33.3%) |
| CIE-LAB | lab(52.64, -14.87, -26.23) |
| CIE-LCH | lch(52.64, 30.15, 240.45°) |
| OKLab | oklab(58.55% -0.0668 -0.0736) |
| OKLCH | oklch(58.55% 0.099 227.8) |
| XYZ | xyz(16.8716, 20.7205, 41.1327) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.90
Cerulean
#007BA7
ΔE00 5.25
Teal Blue
#01889F
ΔE00 5.53
Ocean
#017B92
ΔE00 7.05
Nice Blue
#107AB0
ΔE00 7.21
Stormy Blue
#507B9C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87AA #AA4D2A
analogous
#2AAA8D #2A87AA #2A47AA
triadic
#2A87AA #AA2A87 #87AA2A
tetradic
#2A87AA #8D2AAA #AA4D2A #47AA2A
square
#2A87AA #8D2AAA #AA4D2A #47AA2A
split-complementary
#2A87AA #AA2A47 #AA8D2A
monochromatic
#123948 #1E6079 #2A87AA #41A9D0 #72BFDC
Accessibility & contrast
On white
4.08
#2A87AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#2A87AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87AA
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87AA | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2a87aa; /* rgb */ color: rgb(42, 135, 170); /* oklch */ color: oklch(58.5% 0.099 227.8);
Tailwind
colors: {
custom: {
50: '#76aac3',
500: '#2a87aa',
950: '#000000',
},
}SCSS
$custom: #2a87aa; $custom-light: #76aac3; $custom-dark: #000000;
JSON
{
"hex": "#2a87aa",
"rgb": {
"r": 42,
"g": 135,
"b": 170
},
"hsl": {
"h": 196.406,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.58545,
"c": 0.09943,
"h": 227.8
},
"luminance": 0.20722
}Semantic roles & 50–950 ramp
primary
#2A87AA
secondary
#C3846C
accent
#7044E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81