#2A514B#2A514B

#2A514B is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.4% C 0.046 H 182.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2A514B
RGBrgb(42, 81, 75)
HSLhsl(171, 32%, 24%)
HSVhsv(171, 48%, 32%)
CMYKcmyk(48.1%, 0%, 7.4%, 68.2%)
CIE-LABlab(31.54, -15.52, -0.78)
CIE-LCHlch(31.54, 15.54, 182.87°)
OKLaboklab(40.41% -0.0457 -0.0023)
OKLCHoklch(40.41% 0.046 182.9)
XYZxyz(5.1668, 6.8847, 7.7119)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A514B #512A30
analogous
#2A5138 #2A514B #2A4451
triadic
#2A514B #4B2A51 #514B2A
tetradic
#2A514B #382A51 #512A30 #44512A
square
#2A514B #382A51 #512A30 #44512A
split-complementary
#2A514B #512A44 #51382A
monochromatic
#0A1413 #152926 #2A514B #3F7970 #54A296

Accessibility & contrast

On white

8.83
#2A514B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A514B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A514B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A514B#FFFFFF#000000##FFFFFF
##2A514B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4B
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#1A524F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a514b;
/* rgb */ color: rgb(42, 81, 75);
/* oklch */ color: oklch(40.4% 0.046 182.9);
Tailwind
colors: {
  custom: {
    50: '#66827d',
    500: '#2a514b',
    950: '#000000',
  },
}
SCSS
$custom: #2a514b;
$custom-light: #66827d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a514b",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 75
  },
  "hsl": {
    "h": 170.769,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.04577,
    "h": 182.9
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#2A514B
secondary
#83545B
accent
#6070C8
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2A514B

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

Preview Lab → · Contrast checker → · Palette generator →

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