#2A514B
A color in the Cyan, Emerald family
#2a514b is a color in the Cyan, Emerald family: RGB(42, 81, 75), HSL(171°, 32%, 24%), CMYK(48%, 0%, 7%, 68%). Closest named color: darkslategray. Contrast is 8.83:1 on white and 2.38:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #2a514b |
|---|---|
| RGB | rgb(42 81 75) |
| RGB (legacy) | rgb(42, 81, 75) |
| RGB % | rgb(16% 32% 29%) |
| HSL | hsl(171 32% 24%) |
| HSV / HSB | hsv(171, 48%, 32%) |
| HWB | hwb(171 16% 68%) |
| CMYK | cmyk(48%, 0%, 7%, 68%) |
| CIELAB (D50) | lab(31.44 -15.76 -1.01) |
| LCH | lch(31.44 15.79 183.66) |
| OKLab | oklab(0.4041 -0.0457 -0.0023) |
| OKLCH | oklch(0.4041 0.0458 182.93) |
| Decimal | 2773323 |
Properties
| Color Tone | Cyan, Emerald |
|---|---|
| Closest named color | darkslategray ΔE 1.2 |
| Closest web-safe color | #336633 |
| Hue | 171° |
| Saturation (HSL / HSV) | 32% / 48% |
| Lightness (HSL) | 24% |
| Brightness or Value (HSV) | 32% |
| Luminance (Rec.601 / Rec.709) | 27% / 28% |
| Relative luminance (WCAG) | 0.0689 |
| Red / Green / Blue | 42 / 81 / 75 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
8.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 90.1 / -12.2 · As background with white / black text: Lc -94.6 / 13.9
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #2a514b;
--color-brand-oklch: oklch(40.41% 0.0458 182.93);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 81 75 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a514b] text-[#2a514b] border-[#2a514b]">