#2A5C4E#2A5C4E

#2A5C4E is a dark, muted teal. Relative luminance 0.087; OKLCH L 43.6% C 0.059 H 172.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2A5C4E
RGBrgb(42, 92, 78)
HSLhsl(163, 37%, 26%)
HSVhsv(163, 54%, 36%)
CMYKcmyk(54.3%, 0%, 15.2%, 63.9%)
CIE-LABlab(35.39, -20.72, 2.93)
CIE-LCHlch(35.39, 20.92, 171.95°)
OKLaboklab(43.56% -0.0589 0.0074)
OKLCHoklch(43.56% 0.059 172.8)
XYZxyz(6.1565, 8.6961, 8.5603)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C4E #5C2A38
analogous
#2A5C35 #2A5C4E #2A515C
triadic
#2A5C4E #4E2A5C #5C4E2A
tetradic
#2A5C4E #352A5C #5C2A38 #515C2A
square
#2A5C4E #352A5C #5C2A38 #515C2A
split-complementary
#2A5C4E #5C2A51 #5C352A
monochromatic
#0A1512 #17322A #2A5C4E #3D8672 #51B095

Accessibility & contrast

On white

7.67
#2A5C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A5C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C4E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C4E#FFFFFF#000000##FFFFFF
##2A5C4E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574D
Deuteranopia (green-blind)
#51514F
Tritanopia (blue-blind)
#145D58
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5c4e;
/* rgb */ color: rgb(42, 92, 78);
/* oklch */ color: oklch(43.6% 0.059 172.8);
Tailwind
colors: {
  custom: {
    50: '#688a7f',
    500: '#2a5c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c4e;
$custom-light: #688a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c4e",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 78
  },
  "hsl": {
    "h": 163.2,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.05936,
    "h": 172.8
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#2A5C4E
secondary
#8E5364
accent
#5B7BCD
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #2A5C4E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A5C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva