#2A545C#2A545C

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

Color values

HEX#2A545C
RGBrgb(42, 84, 92)
HSLhsl(190, 37%, 26%)
HSVhsv(190, 54%, 36%)
CMYKcmyk(54.3%, 8.7%, 0%, 63.9%)
CIE-LABlab(33.15, -12.13, -9.17)
CIE-LCHlch(33.15, 15.21, 217.09°)
OKLaboklab(41.9% -0.0415 -0.0253)
OKLCHoklch(41.9% 0.049 211.4)
XYZxyz(6.0562, 7.6051, 11.2719)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A545C #5C322A
analogous
#2A5C4B #2A545C #2A3B5C
triadic
#2A545C #5C2A54 #545C2A
tetradic
#2A545C #4B2A5C #5C322A #3B5C2A
square
#2A545C #4B2A5C #5C322A #3B5C2A
split-complementary
#2A545C #5C2A3B #5C4B2A
monochromatic
#0A1315 #172E32 #2A545C #3D7A86 #51A0B0

Accessibility & contrast

On white

8.33
#2A545C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A545C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A545C#FFFFFF#000000##FFFFFF
##2A545C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515C
Deuteranopia (green-blind)
#464B5C
Tritanopia (blue-blind)
#0A5856
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a545c;
/* rgb */ color: rgb(42, 84, 92);
/* oklch */ color: oklch(41.9% 0.049 211.4);
Tailwind
colors: {
  custom: {
    50: '#68848a',
    500: '#2a545c',
    950: '#000000',
  },
}
SCSS
$custom: #2a545c;
$custom-light: #68848a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a545c",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 92
  },
  "hsl": {
    "h": 189.6,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.04861,
    "h": 211.4
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#2A545C
secondary
#8E5D53
accent
#6D5BCD
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #2A545C

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

Preview Lab → · Contrast checker → · Palette generator →

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