#2A5259

A color in the Cyan, Emerald family

#2a5259 is a color in the Cyan, Emerald family: RGB(42, 82, 89), HSL(189°, 36%, 26%), CMYK(53%, 8%, 0%, 65%). Closest named color: darkslategray. Contrast is 8.57:1 on white and 2.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2a5259
RGBrgb(42 82 89)
RGB (legacy)rgb(42, 82, 89)
RGB %rgb(16% 32% 35%)
HSLhsl(189 36% 26%)
HSV / HSBhsv(189, 53%, 35%)
HWBhwb(189 16% 65%)
CMYKcmyk(53%, 8%, 0%, 65%)
CIELAB (D50)lab(32.19 -13.07 -8.74)
LCHlch(32.19 15.72 213.76)
OKLaboklab(0.4123 -0.0402 -0.0233)
OKLCHoklch(0.4123 0.0465 210.1)
Decimal2773593

Properties

Color ToneCyan, Emerald
Closest named colordarkslategray ΔE 1.7
Closest web-safe color#336666
Hue189°
Saturation (HSL / HSV)36% / 53%
Lightness (HSL)26%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)28% / 29%
Relative luminance (WCAG)0.0725
Red / Green / Blue42 / 82 / 89

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.45: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 89.4 / -12.9 · As background with white / black text: Lc -93.9 / 14.6

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

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: #2a5259;
  --color-brand-oklch: oklch(41.23% 0.0465 210.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 82 89 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a5259] text-[#2a5259] border-[#2a5259]">