#2A545A#2A545A

#2A545A is a dark, muted teal. Relative luminance 0.076; OKLCH L 41.8% C 0.048 H 207.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2A545A
RGBrgb(42, 84, 90)
HSLhsl(188, 36%, 26%)
HSVhsv(188, 53%, 35%)
CMYKcmyk(53.3%, 6.7%, 0%, 64.7%)
CIE-LABlab(33.07, -12.77, -8.02)
CIE-LCHlch(33.07, 15.08, 212.15°)
OKLaboklab(41.81% -0.0424 -0.0221)
OKLCHoklch(41.81% 0.048 207.6)
XYZxyz(5.9699, 7.5706, 10.8175)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A545A #5A302A
analogous
#2A5A48 #2A545A #2A3C5A
triadic
#2A545A #5A2A54 #545A2A
tetradic
#2A545A #482A5A #5A302A #3C5A2A
square
#2A545A #482A5A #5A302A #3C5A2A
split-complementary
#2A545A #5A2A3C #5A482A
monochromatic
#0A1315 #172D30 #2A545A #3D7B84 #51A2AD

Accessibility & contrast

On white

8.35
#2A545A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A545A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A545A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A545A#FFFFFF#000000##FFFFFF
##2A545A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515A
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#0D5756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a545a;
/* rgb */ color: rgb(42, 84, 90);
/* oklch */ color: oklch(41.8% 0.048 207.6);
Tailwind
colors: {
  custom: {
    50: '#688488',
    500: '#2a545a',
    950: '#000000',
  },
}
SCSS
$custom: #2a545a;
$custom-light: #688488;
$custom-dark: #000000;
JSON
{
  "hex": "#2a545a",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 90
  },
  "hsl": {
    "h": 187.5,
    "s": 36.364,
    "l": 25.882
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.04785,
    "h": 207.6
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#2A545A
secondary
#8C5B53
accent
#6A5BCC
background
#F6F8F8
surface
#EBEFEF
border
#C6CACA
text
#060B0B
muted
#7A7C7C

Preview Lab

Preview with #2A545A

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

Preview Lab → · Contrast checker → · Palette generator →

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