#2A5B4E#2A5B4E

#2A5B4E is a dark, muted teal. Relative luminance 0.085; OKLCH L 43.3% C 0.058 H 173.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2A5B4E
RGBrgb(42, 91, 78)
HSLhsl(164, 37%, 26%)
HSVhsv(164, 54%, 36%)
CMYKcmyk(53.8%, 0%, 14.3%, 64.3%)
CIE-LABlab(35.05, -20.18, 2.44)
CIE-LCHlch(35.05, 20.33, 173.12°)
OKLaboklab(43.28% -0.0576 0.0061)
OKLCHoklch(43.28% 0.058 173.9)
XYZxyz(6.0705, 8.5239, 8.5316)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B4E #5B2A37
analogous
#2A5B35 #2A5B4E #2A4F5B
triadic
#2A5B4E #4E2A5B #5B4E2A
tetradic
#2A5B4E #352A5B #5B2A37 #4F5B2A
square
#2A5B4E #352A5B #5B2A37 #4F5B2A
split-complementary
#2A5B4E #5B2A4F #5B352A
monochromatic
#0A1512 #17312A #2A5B4E #3D8572 #51AF96

Accessibility & contrast

On white

7.76
#2A5B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A5B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B4E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B4E#FFFFFF#000000##FFFFFF
##2A5B4E1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58564D
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#155C57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5b4e;
/* rgb */ color: rgb(42, 91, 78);
/* oklch */ color: oklch(43.3% 0.058 173.9);
Tailwind
colors: {
  custom: {
    50: '#68897f',
    500: '#2a5b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b4e;
$custom-light: #68897f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b4e",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 164.082,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.05792,
    "h": 173.9
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#2A5B4E
secondary
#8D5363
accent
#5B79CD
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #2A5B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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