#2A545B#2A545B

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

Color values

HEX#2A545B
RGBrgb(42, 84, 91)
HSLhsl(189, 37%, 26%)
HSVhsv(189, 54%, 36%)
CMYKcmyk(53.8%, 7.7%, 0%, 64.3%)
CIE-LABlab(33.11, -12.45, -8.60)
CIE-LCHlch(33.11, 15.13, 214.63°)
OKLaboklab(41.86% -0.0419 -0.0237)
OKLCHoklch(41.86% 0.048 209.5)
XYZxyz(6.0128, 7.5877, 11.0432)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A545B #5B312A
analogous
#2A5B49 #2A545B #2A3B5B
triadic
#2A545B #5B2A54 #545B2A
tetradic
#2A545B #492A5B #5B312A #3B5B2A
square
#2A545B #492A5B #5B312A #3B5B2A
split-complementary
#2A545B #5B2A3B #5B492A
monochromatic
#0A1315 #172D31 #2A545B #3D7B85 #51A1AF

Accessibility & contrast

On white

8.34
#2A545B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A545B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A545B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A545B#FFFFFF#000000##FFFFFF
##2A545B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#0C5756
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a545b;
/* rgb */ color: rgb(42, 84, 91);
/* oklch */ color: oklch(41.9% 0.048 209.5);
Tailwind
colors: {
  custom: {
    50: '#688489',
    500: '#2a545b',
    950: '#000000',
  },
}
SCSS
$custom: #2a545b;
$custom-light: #688489;
$custom-dark: #000000;
JSON
{
  "hex": "#2a545b",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 91
  },
  "hsl": {
    "h": 188.571,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.0482,
    "h": 209.5
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#2A545B
secondary
#8D5C53
accent
#6B5BCD
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #2A545B

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

Preview Lab → · Contrast checker → · Palette generator →

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