#2A5E4E#2A5E4E

#2A5E4E is a dark, moderate teal. Relative luminance 0.090; OKLCH L 44.1% C 0.062 H 170.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2A5E4E
RGBrgb(42, 94, 78)
HSLhsl(162, 38%, 27%)
HSVhsv(162, 55%, 37%)
CMYKcmyk(55.3%, 0%, 17%, 63.1%)
CIE-LABlab(36.07, -21.77, 3.91)
CIE-LCHlch(36.07, 22.12, 169.81°)
OKLaboklab(44.11% -0.0615 0.01)
OKLCHoklch(44.11% 0.062 170.8)
XYZxyz(6.3321, 9.0471, 8.6188)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E4E #5E2A3A
analogous
#2A5E34 #2A5E4E #2A545E
triadic
#2A5E4E #4E2A5E #5E4E2A
tetradic
#2A5E4E #342A5E #5E2A3A #545E2A
square
#2A5E4E #342A5E #5E2A3A #545E2A
split-complementary
#2A5E4E #5E2A54 #5E342A
monochromatic
#091512 #17342B #2A5E4E #3D8871 #51B194

Accessibility & contrast

On white

7.47
#2A5E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2A5E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E4E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E4E#FFFFFF#000000##FFFFFF
##2A5E4E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#145F59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a5e4e;
/* rgb */ color: rgb(42, 94, 78);
/* oklch */ color: oklch(44.1% 0.062 170.8);
Tailwind
colors: {
  custom: {
    50: '#688c7f',
    500: '#2a5e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e4e;
$custom-light: #688c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e4e",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 78
  },
  "hsl": {
    "h": 161.538,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.06229,
    "h": 170.8
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#2A5E4E
secondary
#905366
accent
#5A7DCE
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #2A5E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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