#2C6871#2C6871

#2C6871 is a mid, moderate teal. Relative luminance 0.116; OKLCH L 48.2% C 0.063 H 208.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2C6871
RGBrgb(44, 104, 113)
HSLhsl(188, 44%, 31%)
HSVhsv(188, 61%, 44%)
CMYKcmyk(61.1%, 8%, 0%, 55.7%)
CIE-LABlab(40.62, -16.41, -10.90)
CIE-LCHlch(40.62, 19.70, 213.58°)
OKLaboklab(48.17% -0.0554 -0.0302)
OKLCHoklch(48.17% 0.063 208.6)
XYZxyz(8.9684, 11.6275, 17.3913)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6871 #71352C
analogous
#2C7157 #2C6871 #2C4571
triadic
#2C6871 #712C68 #68712C
tetradic
#2C6871 #572C71 #71352C #45712C
square
#2C6871 #572C71 #71352C #45712C
split-complementary
#2C6871 #712C45 #71572C
monochromatic
#0A1719 #1B3F45 #2C6871 #3D919D #59B1BE

Accessibility & contrast

On white

6.31
#2C6871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C6871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6871
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6871#FFFFFF#000000##FFFFFF
##2C68711.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6871;
/* rgb */ color: rgb(44, 104, 113);
/* oklch */ color: oklch(48.2% 0.063 208.6);
Tailwind
colors: {
  custom: {
    50: '#6d9399',
    500: '#2c6871',
    950: '#000000',
  },
}
SCSS
$custom: #2c6871;
$custom-light: #6d9399;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6871",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 187.826,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.0631,
    "h": 208.6
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#2C6871
secondary
#A36056
accent
#6554D4
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2C6871

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

Preview Lab → · Contrast checker → · Palette generator →

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