#2F6771#2F6771

#2F6771 is a mid, moderate teal. Relative luminance 0.115; OKLCH L 48.0% C 0.061 H 210.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2F6771
RGBrgb(47, 103, 113)
HSLhsl(189, 41%, 31%)
HSVhsv(189, 58%, 44%)
CMYKcmyk(58.4%, 8.8%, 0%, 55.7%)
CIE-LABlab(40.40, -15.21, -11.21)
CIE-LCHlch(40.40, 18.89, 216.40°)
OKLaboklab(48.03% -0.0521 -0.031)
OKLCHoklch(48.03% 0.061 210.8)
XYZxyz(9.0020, 11.4962, 17.3642)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6771 #71392F
analogous
#2F715A #2F6771 #2F4671
triadic
#2F6771 #712F67 #67712F
tetradic
#2F6771 #5A2F71 #71392F #46712F
square
#2F6771 #5A2F71 #71392F #46712F
split-complementary
#2F6771 #712F46 #715A2F
monochromatic
#0B181B #1D4046 #2F6771 #418E9C #5EAEBC

Accessibility & contrast

On white

6.36
#2F6771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2F6771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6771
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6771#FFFFFF#000000##FFFFFF
##2F67711.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#006B6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6771;
/* rgb */ color: rgb(47, 103, 113);
/* oklch */ color: oklch(48.0% 0.061 210.8);
Tailwind
colors: {
  custom: {
    50: '#6e9299',
    500: '#2f6771',
    950: '#000000',
  },
}
SCSS
$custom: #2f6771;
$custom-light: #6e9299;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6771",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 113
  },
  "hsl": {
    "h": 189.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.06063,
    "h": 210.8
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#2F6771
secondary
#A2655A
accent
#6957D1
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2F6771

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

Preview Lab → · Contrast checker → · Palette generator →

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