#2A879C#2A879C
#2A879C is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.090 H 216.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A879C |
|---|---|
| RGB | rgb(42, 135, 156) |
| HSL | hsl(191, 58%, 39%) |
| HSV | hsv(191, 73%, 61%) |
| CMYK | cmyk(73.1%, 13.5%, 0%, 38.8%) |
| CIE-LAB | lab(52.08, -19.61, -19.00) |
| CIE-LCH | lch(52.08, 27.30, 224.09°) |
| OKLab | oklab(57.91% -0.0724 -0.053) |
| OKLCH | oklch(57.91% 0.09 216.2) |
| XYZ | xyz(15.6170, 20.2187, 34.5256) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 1.52
Dirty Blue
#3F829D
ΔE00 4.58
Ocean
#017B92
ΔE00 4.85
Sea Blue
#047495
ΔE00 8.37
Dark Cyan
#0A888A
ΔE00 8.57
Deep Aqua
#08787F
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A879C #9C3F2A
analogous
#2A9C78 #2A879C #2A4E9C
triadic
#2A879C #9C2A87 #879C2A
tetradic
#2A879C #782A9C #9C3F2A #4E9C2A
square
#2A879C #782A9C #9C3F2A #4E9C2A
split-complementary
#2A879C #9C2A4E #9C782A
monochromatic
#10343C #1D5D6C #2A879C #39AFCA #6AC3D7
Accessibility & contrast
On white
4.16
#2A879C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#2A879C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A879C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A879C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A879C | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2a879c; /* rgb */ color: rgb(42, 135, 156); /* oklch */ color: oklch(57.9% 0.090 216.2);
Tailwind
colors: {
custom: {
50: '#74aab9',
500: '#2a879c',
950: '#000000',
},
}SCSS
$custom: #2a879c; $custom-light: #74aab9; $custom-dark: #000000;
JSON
{
"hex": "#2a879c",
"rgb": {
"r": 42,
"g": 135,
"b": 156
},
"hsl": {
"h": 191.053,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.57912,
"c": 0.0897,
"h": 216.2
},
"luminance": 0.2022
}Semantic roles & 50–950 ramp
primary
#2A879C
secondary
#BD7565
accent
#6347E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80