#2A87AF#2A87AF
#2A87AF is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.104 H 231.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A87AF |
|---|---|
| RGB | rgb(42, 135, 175) |
| HSL | hsl(198, 61%, 43%) |
| HSV | hsv(198, 76%, 69%) |
| CMYK | cmyk(76%, 22.9%, 0%, 31.4%) |
| CIE-LAB | lab(52.85, -13.13, -28.78) |
| CIE-LCH | lch(52.85, 31.63, 245.47°) |
| OKLab | oklab(58.79% -0.065 -0.0809) |
| OKLCH | oklch(58.79% 0.104 231.2) |
| XYZ | xyz(17.3536, 20.9133, 43.6712) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.92
Cerulean
#007BA7
ΔE00 4.80
Nice Blue
#107AB0
ΔE00 6.08
Steel Blue
#4682B4
ΔE00 6.11
Water Blue
#0E87CC
ΔE00 6.32
Cool Blue
#4984B8
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A87AF #AF522A
analogous
#2AAF94 #2A87AF #2A45AF
triadic
#2A87AF #AF2A87 #87AF2A
tetradic
#2A87AF #942AAF #AF522A #45AF2A
square
#2A87AF #942AAF #AF522A #45AF2A
split-complementary
#2A87AF #AF2A45 #AF942A
monochromatic
#123B4C #1E617E #2A87AF #44A7D2 #75BFDE
Accessibility & contrast
On white
4.05
#2A87AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#2A87AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A87AF
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A87AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A87AF | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2a87af; /* rgb */ color: rgb(42, 135, 175); /* oklch */ color: oklch(58.8% 0.104 231.2);
Tailwind
colors: {
custom: {
50: '#77aac7',
500: '#2a87af',
950: '#000000',
},
}SCSS
$custom: #2a87af; $custom-light: #77aac7; $custom-dark: #000000;
JSON
{
"hex": "#2a87af",
"rgb": {
"r": 42,
"g": 135,
"b": 175
},
"hsl": {
"h": 198.045,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.58785,
"c": 0.10381,
"h": 231.2
},
"luminance": 0.20915
}Semantic roles & 50–950 ramp
primary
#2A87AF
secondary
#C6896F
accent
#7443E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82