#2B7870#2B7870

#2B7870 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.076 H 185.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B7870
RGBrgb(43, 120, 112)
HSLhsl(174, 47%, 32%)
HSVhsv(174, 64%, 47%)
CMYKcmyk(64.2%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.79, -25.40, -2.58)
CIE-LCHlch(45.79, 25.53, 185.80°)
OKLaboklab(52.34% -0.0753 -0.0074)
OKLCHoklch(52.34% 0.076 185.6)
XYZxyz(10.6360, 15.1153, 17.6831)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7870 #782B33
analogous
#2B784A #2B7870 #2B5A78
triadic
#2B7870 #702B78 #78702B
tetradic
#2B7870 #4A2B78 #782B33 #5A782B
square
#2B7870 #4A2B78 #782B33 #5A782B
split-complementary
#2B7870 #782B5A #784A2B
monochromatic
#0B1E1C #1B4B46 #2B7870 #3BA59A #5AC4B9

Accessibility & contrast

On white

5.22
#2B7870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2B7870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7870
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7870#FFFFFF#000000##FFFFFF
##2B78701.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727170
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7870;
/* rgb */ color: rgb(43, 120, 112);
/* oklch */ color: oklch(52.3% 0.076 185.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f99',
    500: '#2b7870',
    950: '#000000',
  },
}
SCSS
$custom: #2b7870;
$custom-light: #6e9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7870",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 173.766,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.07567,
    "h": 185.6
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#2B7870
secondary
#AA555E
accent
#515FD7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B7870

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

Preview Lab → · Contrast checker → · Palette generator →

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