#2B6871#2B6871

#2B6871 is a mid, moderate teal. Relative luminance 0.116; OKLCH L 48.1% C 0.064 H 208.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2B6871
RGBrgb(43, 104, 113)
HSLhsl(188, 45%, 31%)
HSVhsv(188, 62%, 44%)
CMYKcmyk(61.9%, 8%, 0%, 55.7%)
CIE-LABlab(40.58, -16.62, -10.95)
CIE-LCHlch(40.58, 19.90, 213.39°)
OKLaboklab(48.14% -0.0561 -0.0303)
OKLCHoklch(48.14% 0.064 208.4)
XYZxyz(8.9260, 11.6056, 17.3893)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6871 #71342B
analogous
#2B7157 #2B6871 #2B4571
triadic
#2B6871 #712B68 #68712B
tetradic
#2B6871 #572B71 #71342B #45712B
square
#2B6871 #572B71 #71342B #45712B
split-complementary
#2B6871 #712B45 #71572B
monochromatic
#091618 #1A3F45 #2B6871 #3C919D #57B2BF

Accessibility & contrast

On white

6.32
#2B6871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B6871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6871
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6871#FFFFFF#000000##FFFFFF
##2B68711.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#555C71
Tritanopia (blue-blind)
#006C6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6871;
/* rgb */ color: rgb(43, 104, 113);
/* oklch */ color: oklch(48.1% 0.064 208.4);
Tailwind
colors: {
  custom: {
    50: '#6c9399',
    500: '#2b6871',
    950: '#000000',
  },
}
SCSS
$custom: #2b6871;
$custom-light: #6c9399;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6871",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 187.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.06378,
    "h": 208.4
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#2B6871
secondary
#A35F55
accent
#6453D5
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2B6871

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

Preview Lab → · Contrast checker → · Palette generator →

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