#2A838B#2A838B

#2A838B is a mid, moderate teal. Relative luminance 0.186; OKLCH L 56.2% C 0.082 H 203.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A838B
RGBrgb(42, 131, 139)
HSLhsl(185, 54%, 35%)
HSVhsv(185, 70%, 55%)
CMYKcmyk(69.8%, 5.8%, 0%, 45.5%)
CIE-LABlab(50.20, -23.00, -11.95)
CIE-LCHlch(50.20, 25.92, 207.45°)
OKLaboklab(56.19% -0.0755 -0.0332)
OKLCHoklch(56.19% 0.082 203.7)
XYZxyz(13.7293, 18.5874, 27.2852)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A838B #8B322A
analogous
#2A8B62 #2A838B #2A538B
triadic
#2A838B #8B2A83 #838B2A
tetradic
#2A838B #622A8B #8B322A #538B2A
square
#2A838B #622A8B #8B322A #538B2A
split-complementary
#2A838B #8B2A53 #8B622A
monochromatic
#0E2A2D #1C575C #2A838B #38AFBA #60C6CF

Accessibility & contrast

On white

4.45
#2A838B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A838B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A838B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A838B#FFFFFF#000000##000000
##2A838B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#797D8C
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#008885
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a838b;
/* rgb */ color: rgb(42, 131, 139);
/* oklch */ color: oklch(56.2% 0.082 203.7);
Tailwind
colors: {
  custom: {
    50: '#72a7ac',
    500: '#2a838b',
    950: '#000000',
  },
}
SCSS
$custom: #2a838b;
$custom-light: #72a7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a838b",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 139
  },
  "hsl": {
    "h": 184.948,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.08244,
    "h": 203.7
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#2A838B
secondary
#B5635C
accent
#574BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A838B

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

Preview Lab → · Contrast checker → · Palette generator →

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